%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,
   TEXT in timeZone := %GetCurrentTimeZone()
 )


Parameters


yearYear
monthMonth
dayDay
hourHour
minMinute
secSecond
msecMillisecond
timeZone


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