• 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
Getting local timezone as integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting local timezone as integer


  • Subject: Getting local timezone as integer
  • From: Torsten Trautwein <email@hidden>
  • Date: Sat, 11 Mar 2006 20:56:27 +0100

A NSTimeZone can be set by with timeZoneForSecondsFromGMT. But how can I
get the user\s timezone in seconds from GMT?

I tried to simply create an NSCalendarDate, but I can't find a way to get the seconds
from GMT from it. I do only get a NSTimeZone, which is not very comfortable for me.


Thanks in advance,
Torsten Trautwein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Getting local timezone as integer
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: [Moderator] List guidelines and related resources
  • Next by Date: NSLog(@"%@",[NSProxy class]);
  • Previous by thread: [Moderator] List guidelines and related resources
  • Next by thread: Re: Getting local timezone as integer
  • Index(es):
    • Date
    • Thread