Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch
[email protected] (Chris Nandor) Thu, 14 Sep 2000 11:29:59 -0400
| Newsgroups | perl.perl6.language.datetime |
|---|---|
| Message-ID | <p05001914b5e69ee211b4@[192.168.0.77]> |
At 11:05 -0400 2000.09.14, Philip Newton wrote: >You have another assumption up there: that time_t == signed long (since >you're printing it with %ld) with a resolution of seconds (since you say >"%ld seconds"). ISO/IEC 9899:1999 (draft C standard, the only C standard-y True. In Mac OS, time_t is unsigned long (that is how it can start at 1904-01-01 00:00:00 (local time) and still be valid today while still being 32 bits :). >Maybe POSIX makes more guarantees. I don't think it does, but I am not sure. -- Chris Nandor [email protected] http://pudge.net/ Open Source Development Network [email protected] http://osdn.com/