## TimeSpan::get_Hours method


Returns the hours component of the time interval represented by the current [TimeSpan](../) object.

```cpp
int System::TimeSpan::get_Hours() const
```

## See Also

* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
