%TimeFromItems function


Function
The function returns the absolute time from given time components.
Declaration
TIME %TimeFromItems(
   INT in year,
   INT in month,
   INT in day,
   INT in hour,
   INT in min,
   INT in sec,
   INT in msec,
   INT in timeZone :=  %GetTimeZone()
 )

Parameters
year Year
month Month
day Day
hour Hour
min Minute
sec Second
msec Millisecond
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
%TimeFromItems(2002,9,12,10,15,0,0)   ; returns an abs. time corresponding to the value of 12-9-2002 10:15:00.000

Napíšte komentár