Daylight savings time problem

J. Eric Townsend erict at flatline.UUCP
Tue Apr 4 05:14:43 AEST 1989


In article <7748 at killer.Dallas.TX.US> wnp at killer.Dallas.TX.US (Wolf Paul) writes:
>In article <9139 at alice.UUCP> wilber at alice.UUCP (Bob Wilber) writes:
[various TZ problems]


Here's my fix.  It's nasty, but it's simple and it works.  (On my 3.0 unix
3b1.)

change your /etc/TZ file to
CDT5

Now, reset the date to the correct time by using
date mmddhhmm

Shut down the machine via /etc/shutdown, and when it reboots, your time
will be correct.

What this does:
Tells the computer that you only use Central Daylight Time, and that you're
5 hours off GMT.  (This is for the central timezone, so you'll need to change
the 5 to 4 for EDT, and to 7, I think, for PDT.)  Normally, the Central
Time Zone is *6* hours from GMT, but hey... 3b1's are stupid, right?

This is called a kludge, I think. :-)
-- 
J. Eric Townsend |          Skate UNIX or die, segmented memory suckers!
 uunet!sugar!flatline!erict
bellcore!texbell!/            511 Parker #2    |EastEnders Mailing List:
Inet: cosc5fa at george.uh.edu   Houston,Tx,77007 |eastender at flatline.UUCP



More information about the Unix-pc.general mailing list