%Day function


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


Declaration


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


Parameters


ArgFunction argument.
timeZone


Example


%Day(SysTime)     ; the result is the current day of the system time