Sets the hours for a specified time according to local time.
Method of XTime
Syntax
setHours( hoursValue )
Parameters
Parameter | Description |
---|---|
hoursValue | An integer between 0 and 23, representing the hour. |
Description
If a parameter you specify is outside of the expected range, setHours attempts to update the time information in the XTime object by hoursValue mod 24. For example if hoursValue = 27, 27 mod 24 = 3.