[html]
apt-get install ntp
[/html]

Edit ntp config file:

[html]
vim /etc/ntp.conf
[/html]

Update the 4 “server pool.ntp.org” lines to your locale. e.g. UK:

[html]
server 0.uk.pool.ntp.org
server 1.uk.pool.ntp.org
server 2.uk.pool.ntp.org
server 3.uk.pool.ntp.org
[/html]

All zones can be found here http://www.pool.ntp.org/zone/@

Check the date/time is indeed correct:

[html]
date
[/html]

Credit goes to http://wiki.debian.org/DateTime

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.