Time::localtime(3p) Perl Programmers Reference Guide Time::localtime(3p)
Time::localtime(3p) Perl Programmers Reference Guide Time::localtime(3p) # Time::localtime(3p) Perl Programmers Reference Guide Time::localtime(3p) NNAAMMEE # Time::localtime - by-name interface to Perl's built-in localtime() function SSYYNNOOPPSSIISS # use Time::localtime; printf "Year is %d\n", localtime->year() + 1900; $now = ctime(); use Time::localtime; use File::stat; $date_string = ctime(stat($file)->mtime); DDEESSCCRRIIPPTTIIOONN # This module's default exports override the core llooccaallttiimmee(()) function, replacing it with a version that returns "Time::tm" objects. This object has methods that return the similarly named structure field name from the C's tm structure from _t_i_m_e_. ...