• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dates


  • Subject: Dates
  • From: Angela Brett <email@hidden>
  • Date: Thu, 6 Sep 2001 22:17:58 +1200

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.

Incidentally, a friend of mine has alerted me to the fact that that we're approaching 'S1B' - a billion seconds since the latter epoch (he's made a countdown cgi at http://www.co.nz/clock in case anyone wants to see when it happens.) Am I allowed to join in the celebrations or will I have to wait until a billion seconds from 1 January, 2001? :)
--
Angela Brett email@hidden http://acronyms.co.nz/
"Great minds think different."


  • Follow-Ups:
    • Re: Dates
      • From: rsharp <email@hidden>
  • Prev by Date: Re: [Newbie] Uninitialized outlets?
  • Next by Date: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Previous by thread: NSColorWell setColor crash FIXED ?
  • Next by thread: Re: Dates
  • Index(es):
    • Date
    • Thread