%Hour function


Function
The function retrieves the time component  - hour - of given absolute time.


Declaration


INT %Hour(
   TIME in Arg,
   TEXT in timeZone := %GetCurrentTimeZone()
 )


Parameters


ArgFunction argument.
timeZone


Example


%Hour(SysTime)     ; the result is the current hour of the system time