develooper Front page | perl.perl6.language.datetime | Postings from September 2000

Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch

From:
Bart Lateur
Date:
September 20, 2000 04:22
Subject:
Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch
Message ID:
da7hss0esf6226ee5c74esqfi21235nqpr@4ax.com
On Mon, 18 Sep 2000 11:42:50 -0400, Chris Nandor wrote:

>>But the OS's idea of the epoch is global!
>
>No, it isn't!  On Mac OS, I can change my epoch by changing my time zone.
>If it is harcoded into Config.pm, I am fucked.

This is bad. That system is broken. ;-) I guess that it's the same
situation on MS-DOS, since there the hardware clock is usually set to
local time. It could even happen on Win32?!?

This surely was a bad design decision from the hardware guys. Very
shortsighted.

Anyway, I think that on such systems, globaltime() is derived from
localtime(), not the reverse.

-- 
	Bart.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About