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

Re: setting the system time?



Zach Uram wrote:
My new install of Debian 4.0 seems to have the wrong time, it says right now:

Tue Aug 12 09:42:34 UTC 2008

but the correct time is:

Tue Aug 12 05:42:00 EST 2008

How can I set this? I want it set once and for all so even after
server reboot it shall still be correct.


I used the debian-testing-i386-netinst.iso from July 30th and although I said *not* to set my clock to UTC, it did anyway.

Ron Johnson (again!) asked the right question: why do you have EST and not EDT?

Anyway, I ended up with the hwclock set to UTC. If I did:

hwclock --set --date="mm/dd/yyyy hh:mm:ss"
hwclock -s
hwclock --localtime

the next boot ended up alright. My timezone was already set correctly.

Using debian-40r4-i386-netinst.iso after that did *not* make the same mistake and kept the clock set to localtime.

I set the clock to local time because with VMware I boot M$ XP, which isn't too smart about those kind of things.

Hugo


Reply to: