Movatterモバイル変換


[0]ホーム

URL:


functions /time
(source,CPAN)
You are viewing the version of this documentation from Perl 5.14.1.View the latest version
#time

Returns the number of non-leap seconds since whatever time the system considers to be the epoch, suitable for feeding togmtime 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 thesyscall interface of Perl. Seeperlfaq8 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.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp