company logo

Time :: subtractHours - Subtract hours from time value

The function subtracts a number of hours from 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  :: subtractHours ( int32 iHours )

The number of hours passed in iHours is subtracted from the time value. Time values might become negative.

  • iHours - Hours

    Time span in hours.