Re: NSDateFormatter for ISO8601
Re: NSDateFormatter for ISO8601
- Subject: Re: NSDateFormatter for ISO8601
- From: Jeffrey Oleander <email@hidden>
- Date: Tue, 28 Apr 2009 10:57:04 -0700 (PDT)
> On Mon, 2009/04/27, Martijn van Exel <email@hidden> wrote:
> Unrelated: one of the XML attributes that needed
> parsing was a ISO8601 style date string, for
> which neither NSDate nor NSDateFormatter
> curiously does not seem to provide a parser.
? Of course, it will parse ISO dates.
You just need to give it the format...
off the top of my head something like
%Y-%m-%dT%H:%M%:s
_______________________________________________
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