• 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: NSDate / NSXMLParser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate / NSXMLParser


  • Subject: Re: NSDate / NSXMLParser
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 3 Nov 2009 11:37:29 -0700


On Nov 3, 2009, at 9:26 AM, David Rowland wrote:

No doubt my inexperience with the parser or NSDate is at fault. How do I get the parser to recognize that the time really is UTC?

If you're using NSDateFormatter, you set the time zone by setting the formatter's calendar with an NSCalendar with the desired NSTimeZone.


Nick Zitzmann
<http://www.chronosnet.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 / NSXMLParser
      • From: David Rowland <email@hidden>
References: 
 >NSDate / NSXMLParser (From: David Rowland <email@hidden>)

  • Prev by Date: Re: Handling calculations with many decimal places
  • Next by Date: Re: Strange behaviour with NSTableView binded to NSArrayController with NSSet as content
  • Previous by thread: NSDate / NSXMLParser
  • Next by thread: Re: NSDate / NSXMLParser
  • Index(es):
    • Date
    • Thread