---
title: "InputElement.GetDateTimeLocalValue"
url: "https://reference.aspose.com/html/net/aspose.html.forms/inputelement/getdatetimelocalvalue/"
product: "Aspose.HTML for .NET API Reference"
description: "InputElement GetDateTimeLocalValue method. This method is used to get the value as a DateTime object object. This method is valid if only only type of the input element is datetime-local"
---

## InputElement.GetDateTimeLocalValue method

This method is used to get the value as a DateTime object object. This method is valid if only only type of the input element is "datetime-local"

```csharp
public DateTime GetDateTimeLocalValue()
```

### Return Value

The date object.

### See Also

* class [InputElement](../)
* namespace [Aspose.Html.Forms](../../../aspose.html.forms/)
* assembly [Aspose.HTML](../../../)
