%Day function


Function
The function retrieves the time component  - day - of given absolute time.
Declaration
INT %Day(
   TIME in Arg,
   INT  in timeZone :=  %GetTimeZone()
 )

Parameters
Arg Function argument.
timeZone Forced time zone to convert to a local time. It is set as a time zone offset from UTC during winter in seconds.

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

Napíšte komentár