[Top][All Lists]

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

[Gcl-devel] Time stuff

From: Mike Thomas
Subject: [Gcl-devel] Time stuff
Date: Fri, 20 Sep 2002 12:40:08 +1000

Hi there.

I was cleaning up some timer bugs in "unixtime.c" and decided to slightly
bite the time zone bullet.

Under Mingw32 compiled GCL there is now a new function returning the system
time zone.  The function is called GET-SYSTEM-TIME-ZONE and theoretically
should return a value between -12 and +12 which is the number of hours to be
added to the local time to get GMT.  It has been tested only for Australian
Eastern Standard Time (10 hours ahead of the zero meridian, and hence the
function returns -10 on my system).

The function ignores daylight savings - in Queensland we don't need it

The value of *default-time-zone* is also set as a result of these changes -
the startup lisp scripts now conditionally execute the new function under

Once someone writes a Unix equivalent function it should allow the removal
of explicit time zone references in the startup scripts.


Mike Thomas.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]