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

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