Re: Dates
Re: Dates
- Subject: Re: Dates
- From: Peter Ammon <email@hidden>
- Date: Fri, 7 Sep 2001 11:25:48 -0400
On Friday, September 7, 2001, at 03:35 AM, John C. Randolph wrote:
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
*Long* time being more than about 10^290 times the age of the universe
<g>
-Peter
References: | |
| >Re: Dates (From: "John C. Randolph" <email@hidden>) |