• 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
Time Zone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Time Zone


  • Subject: Time Zone
  • From: FlyMac <email@hidden>
  • Date: Tue, 8 Oct 2002 21:51:39 +0200

Hello,

I tried to find an answer to my question in the web archives, but didn't find any direct answer to my little problem.
Well, I need to create a NSDate object based on a string the user types in, using
[NSDate dateWithString:[NSString stringWithFormat...
I have absolutely no problem working with it, but at the end, I must specify the user's time zone in 1HHMM. That's where I'm stuck. How do I get the timezone the user is in ?
As I need to do such a kind of timer, I'd need to know this in order to not be "X" hours too late or to early in my computations.
If I enter +0200 for example it works great, but I think users in the other time zones won't appreciate to be synchronized with my time zone ;-)

Thanks for any help,

Kevin
______________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Dibit soit 150,92 euros
d'iconomies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant _______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Time Zone
      • From: Jay Prince <email@hidden>
  • Prev by Date: Re: NSTableView Drag & Drop... Well, Maybe
  • Next by Date: Re: readInBackgroundAndNotify & Socket
  • Previous by thread: [ANN] Aizai for Jaguar
  • Next by thread: Re: Time Zone
  • Index(es):
    • Date
    • Thread