From: Nicholas Clark Date: Fri, 16 Jul 2004 13:41:22 +0000 (+0000) Subject: Clarify that it's only Mac OS *Classic* that uses 1904 - OS X uses X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef4d88dbc62415c6922ee52abf857500451ce7d9;p=p5sagit%2Fp5-mst-13.2.git Clarify that it's only Mac OS *Classic* that uses 1904 - OS X uses 1970 p4raw-id: //depot/perl@23130 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index ed4077a..f23c8a2 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6078,9 +6078,10 @@ package. =item time Returns the number of non-leap seconds since whatever time the system -considers to be the epoch (that's 00:00:00, January 1, 1904 for Mac OS, -and 00:00:00 UTC, January 1, 1970 for most other systems). -Suitable for feeding to C and C. +considers to be the epoch, suitable for feeding to C and +C. 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, you may use either the Time::HiRes module (from CPAN, and starting from