## DateTime::ToLocalTime method


Returns a new instance of [DateTime](../) class that represents the date and time value represented by the current object as local time.

```cpp
DateTime System::DateTime::ToLocalTime() const
```

## See Also

* Class [DateTime](../)
* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
