gore@eecs.nwu.edu (Jacob Gore) (04/21/89)
/ comp.sys.next / fad@think.COM (Franklin A Davis) / Apr 20, 1989 / >I'm trying to wean my machine away from Pacific time. I found the >directory /etc/zoneinfo, and I tried copying EST5EDT over localtime. >The 'date' command now reports EDT, but to set the clock I must give a >date 3 hours early... Set the date with the -u option (Greenwich time). (It helps if you have another computer on which you can do a `date -u` and spare yourself from doing all those nasty subtractions :-) Jacob Gore Gore@EECS.NWU.Edu Northwestern Univ., EECS Dept. {oddjob,chinet,att}!nucsrl!gore
abe@mace.cc.purdue.edu (Vic Abell) (04/22/89)
To change the time zone you must at least set the proper link from the time zone file for your zone in /etc/zoneinfo to /etc/zoneinfo/localtime. In your case, that would be to link EST to localtime. You may also want to add the following to /etc/rc.boot: date -t 300 > /dev/console or, if you are in a zone where DST is possible, date -t 300 -d 1 > /dev/console The -t option sets the CUT offset (in minutes); the -d option sets the DST flag on.
abe@mace.cc.purdue.edu (Vic Abell) (04/22/89)
Besides setting the proper /etc/zoneinfo link, you need to use the -t and (possibly) the -d options to date.