I forgot to change timezone during installation. So I changed it after installation by searching on google. I have dual boot Windows 7 and Debian unstable. I have decided Windows 7 to synchronize time with internet. And debian to use that time. When I noticed I am getting incorrect time, I did following.
Code: Select all
sudo hwclock --systohc --utc
sudo dpkg-reconfigure tzdata
cat /etc/timezone
Then added UTC=yes in /etc/default/rcS
Code: Select all
grep UTC /etc/default/rcS
But when I do
Code: Select all
date
Tue Sep 4 09:01:52 IST 2012
which not correct local time.
I just checked on Windows 7 and it showing me correct time.