Re: Dates
Re: Dates
- Subject: Re: Dates
- From: rsharp <email@hidden>
- Date: Thu, 6 Sep 2001 07:30:56 -0500 (CDT)
On Thu, 6 Sep 2001, Angela Brett wrote:
>
Hello,
>
>
I was looking through the NSDate docs trying to figure out how to get
>
the NSString representations of a date (which I eventually found in
>
NSCalendarDate) but I saw something which I'm a little curious about:
>
>
>
Principal Attributes
>
Seconds since absolute reference date (1 January, 2001, GMT)
>
>
>
I thought most UNIX systems used 1970 for that... is Mac OS X ticking
>
different because it's nice and modern, or is it just the NSDate
>
class which stores the date differently? I notice there is a method
>
which returns the time interval since 1 January 1970, GMT, but that
>
is just called a reference date and not the absolute reference date.
IIRC, this was done to extend the expiration date a bit where we'd hit
that 2-billion seconds since EPOC. I think this reference can be added to
and taken away from to represent dates in either direction (i.e. before
and after 1-Jan-2001). I may be wrong though.
Rick Sharp
Instant Interactive(tm)
References: | |
| >Dates (From: Angela Brett <email@hidden>) |