• 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: NSDate timeIntervalSinceNow problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate timeIntervalSinceNow problem


  • Subject: Re: NSDate timeIntervalSinceNow problem
  • From: PCWiz <email@hidden>
  • Date: Thu, 22 Oct 2009 22:10:02 -0600

Had a little brain freeze for a second :P the negative sign had me a bit confused, my eyes generally associate long numbers with a negative sign as bad. Thanks for the clarification.

On 2009-10-22, at 10:06 PM, Graham Cox <email@hidden> wrote:


On 23/10/2009, at 3:02 PM, PCWiz wrote:

Tried using %f to log it instead of %d, but it gives me this:

2009-10-22 22:01:55.459 TestApplication[8629:a0f] -2160.459210



What did you expect to see?

This reports that the date you've stored is 2160.45.. seconds earlier than now. Not unreasonable, is it?

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSDate timeIntervalSinceNow problem (From: PCWiz <email@hidden>)
 >Re: NSDate timeIntervalSinceNow problem (From: "Stephen J. Butler" <email@hidden>)
 >Re: NSDate timeIntervalSinceNow problem (From: Graham Cox <email@hidden>)
 >Re: NSDate timeIntervalSinceNow problem (From: PCWiz <email@hidden>)
 >Re: NSDate timeIntervalSinceNow problem (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSDate timeIntervalSinceNow problem
  • Next by Date: re: Help debugging "Dangling reference to an invalid object." Core Data error
  • Previous by thread: Re: NSDate timeIntervalSinceNow problem
  • Next by thread: Re: NSDate timeIntervalSinceNow problem
  • Index(es):
    • Date
    • Thread