company logo

DateTime :: addHours - Add hours to timestamp value

The number of hours passed in ihours is added to the time value. Time values may exceed 24 hours, in which case the date will change as well.

Notes:

The maximum days you could add in minutes is 248 (5965)

Return value:  Time stamp ( odaba::DateTime & )

A time stamp combines date and time

Implementation details

odaba::DateTime & DateTime  :: addHours ( int32 iHours )
  • iHours - Hours

    Time span in hours.