Sync Time

synchronizing system time with Ubuntu servers

sudo ntpdate ntp.ubuntu.com
ntpdate -b ntp.ubuntu.com

setting hardware clock to new time

sudo hwclock --systohc

create cron job

sudo wget -q http://dl.panticz.de/scripts/syncTime.sh -O /etc/cron.daily/ntpdate
sudo chmod 755 /etc/cron.daily/ntpdate

Links
https://help.ubuntu.com/10.04/serverguide/C/NTP.html