• 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
Re: Dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: [NEWBIE] Right way to make lightweight class/structs?
  • Next by Date: Re: Search for "playscore" (NeXT) to play ".score" files in OS X
  • Previous by thread: Re: Dates
  • Next by thread: [Extreme Newbie] Cannot find class (factory) method
  • Index(es):
    • Date
    • Thread