On Thu, Dec 4, 2008 at 12:17 PM, Mahaboob <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]