NSDate from xsd:dateTime / ISO 8601
NSDate from xsd:dateTime / ISO 8601
- Subject: NSDate from xsd:dateTime / ISO 8601
- From: Nathan Vander Wilt <email@hidden>
- Date: Mon, 17 Mar 2008 17:20:35 -0500 (CDT)
I'm trying to convert a date formatted as a valid
xsd:dateTime format, which is a subset of ISO 8601. I
though I had it when I saw that that -[NSDate
dateWithString:] takes an "international string
representation format". But when I feed it a string
like @"2007-07-01T01:33:01Z", I get back nil.
Does -dateWithString: really not support the
"international [standard!] string representation" of
ISO 8601?? What's the right way to convert such an
xsd:dateTime to an NSDate?
thanks,
-natevw
____________________________________________________________________________________
¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
_______________________________________________
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