Re: problem with date
Re: problem with date
- Subject: Re: problem with date
- From: "Shawn Erickson" <email@hidden>
- Date: Sat, 15 Sep 2007 12:53:46 -0700
On 9/15/07, H M <email@hidden> wrote:
> I can't figure out what's going on here. can anyone help me out? is
> the format string FUBAR?
Read the exception message, it tells you exactly what you need to know. :)
The following line is your problem ...
NSCalendarDate *now = [NSDate date];
... you are creating an instance of NSDate and then proceed to treat
it as an NSCalendarDate.
-Shawn
_______________________________________________
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