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

RE: Date parsing question...


  • Subject: RE: Date parsing question...
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Tue, 28 Oct 2003 18:09:27 -0500

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of Sailesh Agrawal
> Sent: Tuesday, October 28, 2003 4:28 PM
> To: Daniele M.; email@hidden
> Subject: Re: Date parsing question...
>
>
> This might work:
>
> NSCalendarDate *today = [NSCalendarDate
> dateWithString:@"20031028180309"
> calendarFormat:@"%YmdHMS"];


No, it won't. But it will if you put % before each formatting token, i.e.
%Y%m%d%H%M%S.

Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Date parsing question... (From: "Sailesh Agrawal" <email@hidden>)

  • Prev by Date: Plugins work in PB, but not as standalone
  • Next by Date: Re: How to switch language (nib)
  • Previous by thread: Re: Date parsing question...
  • Next by thread: How to switch language (nib)
  • Index(es):
    • Date
    • Thread