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

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

  • Follow-Ups:
    • Re: problem with date
      • From: H M <email@hidden>
References: 
 >problem with date (From: H M <email@hidden>)

  • Prev by Date: problem with date
  • Next by Date: Re: How to embed framework in app with setuid helper
  • Previous by thread: problem with date
  • Next by thread: Re: problem with date
  • Index(es):
    • Date
    • Thread