If you’re using Ubuntu 14.04 LTS or later, you can sync your system clock with internet time servers. This will ensure that your computer’s time is always in sync with the time in other countries. To do this, you’ll need to install the Synaptic package manager and add the following line to your ~/.bashrc file:

Synaptic Package Manager # Add this line to your ~/.synapticrc file: apt-get install synaptics-utils


Note: This article is out of date. Please read our updated article, Sync the Clock with Internet Time Servers in Ubuntu 10.04

To enable this feature, first we’ll right click the clock and choose Adjust Date & Time:

You should see this screen, where you can select the checkbox to synchronize the time:

Most likely, NTP support has not been installed on your computer, unless you had installed it before. Click the Install NTP support button to install it.

Your system should now start synchronizing the time with the time servers. If you want to manually sync the time, you have to first uncheck the “keep clock synchronized” checkbox, and then you can check the “Synchronize Now” button:

 

Pretty cool.