2013-07-17 Linux
You can easily synchronize time of your server or local machine using ntpdate command.
Open terminal and type:
server pool.ntp.org
You can change the address of time server (pool.ntp.org) to a different one that suits you.
If you don’t have ntpdate installed, do I with below command:
sudo apt-get install ntp