Clock on wrong time (system clock is set to UTC)
So my BIOS clock is set to UTC and I keep setting the date with
Code:
date -s <time> Code:
dpkg-reconfigure tzdata Note: It isn't a problem with the clock program, because both the date program and the panel clock show the same (incorrect) time. |
hwclock --systohc
|
If you dual boot make sure the hardware clock is set for local time. Also verify/change the config setting so the OS knows the hardware clock is set for local or UTC @ /etc/default/rcS.
|
Quote:
so I have to update the hardware clock every time daylight savings* comes around? *the idiot that invented daylight savings should be shot. |
No. Windows expects the hardware clock to be local time. linux will adjust as required but you do have to set the config file for the correct value (UTC or local). And the correct terminology is Daylight Saving Time :)
You did not say if you have a dual boot setup. I assume that your clock is off by 5 hours i.e. the difference between Central DST and UTC. |
I do dual-boot. So, I set it to local time, then adjust the config file where?
|
michaelk told you where: /etc/default/rcS
If you set UTC=no in that file then the system clock is assumed to be set to local time. See man rcS. This probably needs a reboot to take effect. |
All times are GMT -5. The time now is 04:47 PM. |