Syncronise time with NTP server in Ubuntu /Mint/Debian

How to Synchronize time  with NTP  server in Ubuntu /Mint/Debian ?

To install the ntp, just enter this command:

sudo apt-get install ntp

 Edit the default ntp configuration:

sudo nano /etc/ntp.conf

Add the following to your ntp.conf file: (Netherlands)


to  get other  servers  for your  country  please  use

After ,  just restart the ntp service:

sudo service ntp restart

Check if the NTP service is synchronizing:

sudo ntpq -c lpeer

To check the synchronization log:

sudo tail -f /var/log/syslog