Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Convert UNIX time into record ...Return elapsed time for self a ... (Berikutnya)
Time-related functions

Return number of seconds since 1970

Daftar Isi

  • time

    Returns the number of non-leap seconds since whatever time the systemconsiders to be the epoch, suitable for feeding to gmtime andlocaltime. On most systems the epoch is 00:00:00 UTC, January 1, 1970;a prominent exception being Mac OS Classic which uses 00:00:00, January 1,1904 in the current local time zone for its epoch.

    For measuring time in better granularity than one second, use theTime::HiRes module from Perl 5.8 onwards (or from CPAN before then), or,if you have gettimeofday(2), you may be able to use the syscallinterface of Perl. See perlfaq8 for details.

    For date and time processing look at the many related modules on CPAN.For a comprehensive date and time representation look at theDateTime module.

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Convert UNIX time into record ...Return elapsed time for self a ... (Berikutnya)