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

Re: NSTimer


  • Subject: Re: NSTimer
  • From: "Thomas Brian" <email@hidden>
  • Date: Thu, 4 Dec 2008 16:49:38 +0100

On Thu, Dec 4, 2008 at 12:17 PM, Mahaboob <email@hidden> wrote:

> Hi,
> For that I used the code :
> NSDate* theDate = [NSDate dateWithTimeIntervalSinceReferenceDate:0];


Unless I am mistaken, this will create a date set to January 1st, 2001. To
get a date representing "now", you can use [NSDate date].
_______________________________________________

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: 
 >NSTimer (From: Mahaboob <email@hidden>)

  • Prev by Date: String Constant containing 2 ASCII Control Chars
  • Next by Date: Re: String Constant containing 2 ASCII Control Chars
  • Previous by thread: Re: NSTimer
  • Next by thread: Re: NSTimer
  • Index(es):
    • Date
    • Thread