• 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: 10.4 date format help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.4 date format help


  • Subject: Re: 10.4 date format help
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 5 Dec 2006 14:46:03 -0500


NSCalendarDate has a -setTimeZone: method, which is easily found searching the documentation for "timezone" ... unless I misunderstood what you're asking, that should work just fine.


--
I.S.


On Dec 5, 2006, at 2:17 PM, Marc Respass wrote:

Hi All,

I have not had any luck finding the information I need to format a string according to the 10.4 ICU library style. I would happily revert to the (easy to use) 10.3 style but I am building an XML plist that has a date type. I need the time to stay in my time zone but I can't find any information for how to format the date string. A plist gets this format

2006-12-05T13:00:00Z

and I can't find the information I need to set the time zone. As far as I can tell, the time zone is represented by the time so that date string means 1PM GMT and I would need to change the time to be US Eastern. If that is true, then it's a drag, and I guess the only choice is to do addition on the time to get it into my zone but that sucks a lot. Does anyone know of a way to set the time zone in an XML plist <date> element?

Thanks a lot
Marc
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
40gmail.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 10.4 date format help
      • From: Marc Respass <email@hidden>
References: 
 >10.4 date format help (From: Marc Respass <email@hidden>)

  • Prev by Date: Re: NSTableView first column reorder...
  • Next by Date: Re: 10.4 date format help
  • Previous by thread: 10.4 date format help
  • Next by thread: Re: 10.4 date format help
  • Index(es):
    • Date
    • Thread