You are viewing the version of this documentation from Perl 5.12.3. View the latest version
gmtime EXPR
gmtime

Works just like localtime but the returned values are localized for the standard Greenwich time zone.

Note: when called in list context, $isdst, the last value returned by gmtime is always 0. There is no Daylight Saving Time in GMT.

See "gmtime" in perlport for portability concerns.