Time::gmtime(3p) Perl Programmers Reference Guide Time::gmtime(3p)
Time::gmtime(3p) Perl Programmers Reference Guide Time::gmtime(3p) # Time::gmtime(3p) Perl Programmers Reference Guide Time::gmtime(3p) NNAAMMEE # Time::gmtime - by-name interface to Perl's built-in gmtime() function SSYYNNOOPPSSIISS # use Time::gmtime; $gm = gmtime(); printf "The day in Greenwich is %s\n", (qw(Sun Mon Tue Wed Thu Fri Sat Sun))[ $gm->wday() ]; use Time::gmtime qw(:FIELDS); gmtime(); printf "The day in Greenwich is %s\n", (qw(Sun Mon Tue Wed Thu Fri Sat Sun))[ $tm_wday ]; $now = gmctime(); use Time::gmtime; use File::stat; $date_string = gmctime(stat($file)->mtime); DDEESSCCRRIIPPTTIIOONN # This module's default exports override the core ggmmttiimmee(()) function, replacing it with a version that returns "Time::tm" objects. ...