Time-Piece

Time::Piece(3p) Perl Programmers Reference Guide Time::Piece(3p)

Time-Piece

Time::Piece(3p) Perl Programmers Reference Guide Time::Piece(3p) # Time::Piece(3p) Perl Programmers Reference Guide Time::Piece(3p) NNAAMMEE # Time::Piece - Object Oriented time objects SSYYNNOOPPSSIISS # use Time::Piece; my $t = localtime; print "Time is $t\n"; print "Year is ", $t->year, "\n"; DDEESSCCRRIIPPTTIIOONN # This module replaces the standard "localtime" and "gmtime" functions with implementations that return objects. It does so in a backwards compatible manner, so that using localtime/gmtime in the way documented in perlfunc will still return what you expect. ...