AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
gmtime EXPR

Converts a time as returned by the time function to a 9™element array
with the time localized for the Greenwich timezone.  Typically used as
follows:

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
gmtime(time);

All array elements are numeric, and come straight out of a struct tm.
In particular this means that $mon has the range 0..11 and $wday has
the range 0..6.  If EXPR is omitted, does gmtime(time()).


[sh-index] Back to list of manuals