System::Globalization::Calendar::AddHours method
Calendar::AddHours method
Adds hours to time point.
virtual DateTime System::Globalization::Calendar::AddHours(DateTime time, int hours) const
Parameter | Type | Description |
---|---|---|
time | DateTime | Original time point value. |
hours | int | Number of hours to add. |
ReturnValue
Time point after calculation is done.
See Also
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.TeX for C++