Posts Tagged ‘Set current day time in Linux to BIOS hardware clock’

Set current day time in Linux to BIOS hardware clock

Saturday, November 27th, 2010

Strangely enough my date showed one hour earlier than the local time that is actually here in Holland.
I don’t understand why this happened but obviously the hardware clock of my BIOS has been turned back with one hour.

To fix the situation I’ve used the hwclock – query and set the hardware clock (RTC) command.

It took me a while until I remember how exactly I did it before but after a quick consult with the manul I came up with the right option to Set the Hardware Clock to the current System Time on my Debian Linux.

Here is the command which set the hardware clock to the current system time for me;

debian:~# hwclock --systohc

Cheers 🙂