• 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
NSDate from xsd:dateTime / ISO 8601
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDate from xsd:dateTime / ISO 8601
      • From: Jens Alfke <email@hidden>
  • Prev by Date: RE: Apple Events and automatic AutoReleasePool managment
  • Next by Date: Re: Apple Events and automatic AutoReleasePool managment
  • Previous by thread: Re: NSView enterFullScreenMode:withOptions: woes; window levels
  • Next by thread: Re: NSDate from xsd:dateTime / ISO 8601
  • Index(es):
    • Date
    • Thread