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

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

Thread Previous | Thread Next
From:
Chris Nandor
Date:
September 14, 2000 08:35
Subject:
Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch
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                      pudge@pobox.com    http://pudge.net/
Open Source Development Network    pudge@osdn.com     http://osdn.com/

Thread Previous | Thread Next


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