
## set_date_value {#DateTime}

This method is used to set DateTime object as a value for input element. This method is valid if only the type of the input element is "date"



```python
def set_date_value(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | DateTime | The date object. |



### See Also
* module [`aspose.html.forms`](../../)
* class [`InputElement`](/html/python-net/aspose.html.forms/inputelement)
