Wednesday, July 11, 2007

changing your hardware / software clock howto

Every system has a hardware clock besides from system clock. Hardware clock is hardware and software clock is software. Software clock stops when you do system poweroff and while hardware clock continues to tick.

View your hardware clock by issuing as root

# hwclock

and your software clock

# date

Should you find any differences between these two, here is how you could change them and make them show the same values together.

# hwclock --systohc

to sync hardware clock from software clock.

And vice versa, syncing software clock from hardware clock would be:

# hwclock --hctosys



Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy