## DateTime::get_TimeOfDay method


Returns the value that represents the time interval from the beginning of the day represented by the current object till the date and time value represented by the current object.

```cpp
TimeSpan System::DateTime::get_TimeOfDay() const
```

## See Also

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