[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] time, date, and timezone



At 13:22 -0700 8/26/98, Stephan Somogyi wrote:
>At 12:07 -0700 26.8.98, Vicki Brown wrote:
>
>> Does the Mac even store a "symbolic" (or offset) timezone? (The
>> Date/Time control panel deals with timezones by city...).
>
>That's just for human convenience; the GMT offset is stored in PRAM.
>
>A quick hunt through OSUtils.h shows that the MachineLocation struct
>filled in by ReadLocation() contains a long named gmtDelta.
>
>Stephan

Which if memory serves isn't a simple long as it is actually used, but
indeed the delta to GMT is in there at the low end (high byte(s) has/have
other uses).

   --John
--
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA
Give a man a fish and you feed him for a day.  Teach him to fish,
and you get rid of him for the weekend.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch