## Duration::GetHours method


Gets the hour component (0-23).

```cpp
int32_t Aspose::Cells::Duration::GetHours() const
```

## See Also

* Class [Vector](../../vector/)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
