7.2.75 Time::Local - Efficiently Compute Time from Local and GMT Timeuse Time::Local; $time = timelocal($sec, $min, $hours, $mday, $mon, $year); $time = timegm($sec, $min, $hours, $mday, $mon, $year);
These routines take a series of arguments specifying a local
(
The routines are very efficient and yet are always guaranteed to agree
with the
gmtime
and
localtime
functions. That is,
if you pass the value returned by
time
to
localtime
, and if
you then pass the values returned by
localtime
to
Both routines return |
|