• 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: NSDateFormatter for ISO8601
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDateFormatter for ISO8601
      • From: Bill Garrison <email@hidden>
  • Prev by Date: Re: Second frontmost app?
  • Next by Date: Re: click in NSButtonCell in NSTableView without selecting table row? [SOLVED]
  • Previous by thread: Re: How to make NSSplitView not dragable
  • Next by thread: Re: NSDateFormatter for ISO8601
  • Index(es):
    • Date
    • Thread