gmtime
gmtime — transforms Unix time to UTC time and date in ASCII
format.
gmtime (time_t)
time_tThe time, usually expressed as the number of seconds from midnight January 1, 1970 on UNIX systems, though it may differ across implementations.
A instance of the class tm, whose members are as
follows:
The number of seconds after the minute (0 -
59).
The number of minutes after the hour (0 -
59).
The number of hours past midnight (0 -
23).
The day of the month (1 -
31).
The number of months since January (0 -
11)
The number of years since 1900.
The number of days since Sunday (0 -
6).
The number of days since January 1 (0 -
365)
1 if daylight saving time is in effect,
0 if not, and a negative number ifthe
information is not available.
Gamma>pretty_princ ("UTC breakout:\t", gmtime (1149261975.5000002), "\n");UTC breakout: {tm (hour . 15) (isdst . 0) (mday . 2) (min . 26) (mon . 5) (sec . 15) (wday . 5) (yday . 152) (year . 106)} tGamma>