Time::Seconds(3p) Perl Programmers Reference Guide Time::Seconds(3p)
Time::Seconds(3p) Perl Programmers Reference Guide Time::Seconds(3p) # Time::Seconds(3p) Perl Programmers Reference Guide Time::Seconds(3p) NNAAMMEE # Time::Seconds - a simple API to convert seconds to other date values SSYYNNOOPPSSIISS # use Time::Piece; use Time::Seconds; my $t = localtime; $t += ONE_DAY; my $t2 = localtime; my $s = $t - $t2; print "Difference is: ", $s->days, "\n"; DDEESSCCRRIIPPTTIIOONN # This module is part of the Time::Piece distribution. It allows the user to find out the number of minutes, hours, days, weeks or years in a given number of seconds. ...