company logo

Time :: addHours - Add hours to time value

The function adds a number of hours to the current date and returns the new time value.

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

The time value is passed in the ODABA Interface::Time format and provides time in 1/100th seconds.

Implementation details

odaba::Time & Time  :: addHours ( int32 iHours )

The number of hours passed in ihours is added to the time value. Time values may exceed 24 hours.

  • iHours - Hours

    Time span in hours.