Setting time zone on linux (ubuntu)

Here in the UK we are UTC+1. I set the time using 'date'. However it keeps resetting back to standard UTC, I'm guessing via a NTP time server.

I've tried setting the timezone with tzselect but it does not change the time, it remains at UTC instead of local time.

Therefore TZ='Europe/London' will be used.
Local time is now:  Thu Jun 25 10:57:48 BST 2009.
Universal Time is now:  Thu Jun 25 09:57:48 UTC 2009.

The above output is correct but the time does not actually get changed.

I either need to disable auto updating of time or ideally setting the timezone correctly.


You can also do :

dpkg-reconfigure tzdata

It will then allow you to choose your timezone.


  1. apt-get install ntpdate
  2. ntpdate pool.ntp.org

This will work. i have done this on my server, have a try.

cyclotron:~# ntpdate pool.ntp.org 25 Jun 15:45:05 ntpdate[18445]: step time server 120.88.47.10 offset 485.998764 sec


I'm not 100% on this, but it's an idea.

I know that on RHEL/CentOS, the time zone is set under /etc as a symlink.

For example, mine is

localtime -> /usr/share/zoneinfo/America/Los_Angeles

Can you confirm that your link is Europe/London? If not, try deleting the localtime symlink and creating one.