%Sec function


Function
The function retrieves the time component  - second - of given absolute time.
Declaration
INT %Sec(
   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
%Sec(SysTime)      ; the result is the current second of the system time

Napíšte komentár