# Method gmtime()

Method gmtime

  ``mapping`(`string`:`int`) gmtime(`int` `timestamp`)`

Description

  Convert seconds since 00:00:00 UTC, Jan 1, 1970 into components.

  This function works like localtime() but the result is not adjusted for the local time zone.

Note

  Timestamps prior to 1970-01-01T00:00:00 (ie negative timestamps) were not supported on NT and AIX prior to Pike 9.0.

See also

  localtime(), time(), ctime(), mktime()