19

I just installed a Ubuntu 11.10 box and I'm trying to figure out how to set the timezone to UTC. I have it set to London at the moment, but UTC doesn't appear to be an option.

Help?

Jorge Castro
  • 73,717
Thom
  • 1,559

4 Answers4

28
sudo dpkg-reconfigure tzdata

then go to "Etc" or "None of the above", there to UTC, enter, you're done. It actually changes files /etc/timezone and /etc/localtime.

Chad
  • 103
martin
  • 296
  • 3
  • 2
10

Unable to find UTC or GMT in the menu, I ended up running tzselect from the command prompt. I selected 11, enter posix standard time, then entered UTC-0. This appears to have done it.

thanks for all of the help.

Thom
  • 1,559
2

This is an ugly hack, but it appears that Iceland uses year-round UTC. So setting the time zone to Atlantic/Reykjavik should work (at least until Iceland decides to change its default time zone).

(London doesn't use year-round UTC, so that's not going to work correctly.)

1

To change the time zone for your user only on the command line; edit your ~/.bashrc file and add this to it:

export TZ=UTC
Kit Ho
  • 170