SYNTAX:
xpxGmTime(time, VAR seconds, VAR minutes, VAR hours, VAR day : INTEGER;VAR month, VAR year : INTEGER;
VAR daylightSavingTimeFlag : BOOLEAN)
status : INTEGER;
The xpxGmTime function decodes a compressed time to Coordinated Universal Time (UTC). The xpxGmTime function is similar to the gmtime function in the C language, except that the weekday is not decoded.
NOTE: Unlike the above date and time functions month has a range 0-11.
Arguments:
Arguments |
Description |
time |
A time in compressed format as obtained by xpxTime |
seconds |
Seconds after the minute (0, 59) |
minutes |
Minutes after the hour (0, 59) |
hours |
Hours since midnight (0, 23) |
day |
Day of the month (1, 31) |
month |
Months since January (0, 11) |
year |
Years since 1900. |
daylightSavingTime |
TRUE : Daylight Saving Time in effect FALSE: Daylight Saving Time not in effect |
See also:
xpxMkTime