gmtime
$
Overrides the core The field names (and therefore the method names) are the same as the names of the fields in the tm structure in the C file time.h :use Time::gmtime; $gm = gmtime(); print $gm->mon;
sec
,
min
,
hour
,
mday
,
mon
,
year
,
wday
,
yday
, and
isdst
.
You can access the fields either with the methods or by importing the
fields into your namespace with the :FIELDS import tag and prepending
tm_
to the method name (for example,
$tm_mon
).
|
|