
## to_date_time(self) {#}

Returns the property value as DateTime in local timezone.



```python

def to_date_time(self):
    ...
```


### Remarks

Throws an exception if the property type is not PropertyType.Date.


### See Also
* module [`aspose.cells.properties`](../../)
* class [`DocumentProperty`](/cells/python-net/aspose.cells.properties/documentproperty)
