Re: Changing time.

Ken Lai (min-ken.lai@yale.edu)
Fri, 29 Jan 1999 11:48:07 -0500 (EST)

Do you run other operating systems on your computer?
Do you have the hardware clock set to EST or GMT?
I'm guessing your hwclock is on GMT, but your box thinks it's on EST.
You can fix it in two ways:
1. change the time on your hwclock
2. change the timezone your box thinks it's in.

For (2), I think the command in Debian is tzconfig. I'm not sure if it's
the same in RedHat. If not, you can manually make the link /etc/localtime
point to the correct timezone in /usr/share/zoneinfo
However, you might end up making your box run completely on GMT, which can
be confusing. In that case, change the GMT="-u" to GMT="" in your boot
script default. (/etc/defaults/rcS in debian)

I hope I didn't confuse you too much; maybe someone with RH5.2 will be
more help to you.

- Ken

On Fri, 29 Jan 1999, Rinendra Shakya wrote:

> Hello. My date() says Fri Jan 29 05:19:25 EST 1999 when actually it is
> 10:23. Could you please let me know how I can change this to the correct
>
> EST. I think the time returned is GMT. I am running Redhat 5.2.
>
> Thanks
>
> Rinendra
>

--
Ken Lai  <min-ken.lai@yale.edu>  also at  ken.lai@WriteMe.com
http://pantheon.yale.edu/~ml267/     ICQ# 5845632