Ubuntu has an easy way to keep your system clock synchronized with the internet time servers, but sadly it’s not enabled by default. Here’s the quick steps required to enable it for your system.
Sync the Clock with Internet Time Servers
You’ll need to start off with Administration –> Time and Date.
Then use the Click to make changes button to enable the window.
Then change Configuration from Manual to Keep synchronized with Internet servers.
At this point you’ll probably be prompted to install NTP support.
At this point the window will change, and you can select the time servers you want to use—make sure that you set your Time zone properly here.
That’s all there is to it! You now have internet time (NTP) up and running on your Ubuntu 10.04 box.