


Code: Select all
Tue May 4 12:06:10 BST 2004 Code: Select all
hwclock --utc --set --date="5/4/04 12:26:00"Code: Select all
lrwxrwxrwx 1 root root 22 Mar 29 16:13 /etc/localtime -> /usr/share/zoneinfo/GBCode: Select all
Tue May 4 12:28:50 BST 2004
Code: Select all
Tue May 4 13:33:53 BST 2004Code: Select all
ls -l /etc/localtime
Code: Select all
lrwxrwxrwx 1 root root 33 May 3 23:22 /etc/localtime -> /usr/share/zoneinfo/Europe/LondonCode: Select all
lrwxrwxrwx 1 root root 22 Mar 29 16:13 /etc/localtime -> /usr/share/zoneinfo/GB

Code: Select all
hwclock --utc --set --date="5/4/04 14:11:00"Code: Select all
CLOCK="UTC"Code: Select all
CLOCK="BST"Code: Select all
/etc/init.d/clock restartI would think that using the --utc flag on hwclock to set the hardware clock to local time is probably a bad idea too. Why did you do this?# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then set CLOCK
# to "local". This setting is used by the /etc/init.d/clock script.

Code: Select all
/etc/init.d/clock restart
Code: Select all
hwclock --hctosys