Greg`s Tech blog

Setting Linux Time

Monday 05 of January, 2004
Running gnome on Linux2 and the time was off. I tried to use gnome to set the time but it said no program was configured to change time. I don't get it.

Found a nice discussion on the clock here (cache)

Needed to use hwclock. Here are the commands

hwclock set date hh:mm:ss (to set the time)
hwclock --localtime (tells linux the rtc is set to local time)
hwclock --hctosys (to set system time from hwclock)