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

Re: Getting local timezone as integer


  • Subject: Re: Getting local timezone as integer
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 11 Mar 2006 12:59:46 -0800
  • Thread-topic: Getting local timezone as integer

On Sat, 11 Mar 2006 20:56:27 +0100, Torsten Trautwein
<email@hidden> said:
>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.

I don't know, but secondsFromGMT *can't* be the answer. That would be too
obvious. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: Deborah Goldsmith <email@hidden>
  • Prev by Date: Re: Getting local timezone as integer
  • Next by Date: Re: CoreData validation strangeness
  • Previous by thread: Re: Getting local timezone as integer
  • Next by thread: Re: Getting local timezone as integer
  • Index(es):
    • Date
    • Thread