Re: Dates
Re: Dates
- Subject: Re: Dates
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 7 Sep 2001 00:35:39 -0700
On Thursday, September 6, 2001, at 10:42 AM, Peter Ammon wrote:
BSD does indeed use a signed long type to represent dates, which means
it will overflow in 2038 or so. But Core Foundation uses a double
type, and I'd expect that NSDate works the same way. This means that
Core Foundation can represent something like 10^300 seconds, so
overflow simply isn't an issue.
Well, unless you're doing cosmology work that needs to represent dates a
*long* time in the future..
-jcr
"Scientology is both immoral and socially obnoxious... it is
corrupt, sinister and dangerous." - Mr. Justice Latey, London 1984
References: | |
| >Re: Dates (From: Peter Ammon <email@hidden>) |