Re: Getting local timezone as integer
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