17

This question already has an answer here:

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?

marked as duplicate by Lucio, Charles Green, Eric Carvalho, αғsнιη, Seth Oct 29 '14 at 16:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • click on time indicator at top right conrner, you will get option of Time and date settings :) – Web-E Mar 30 '12 at 15:25
  • I know how to change my timezone, but there doesn't appear to be a UTC setting. – Thom Mar 30 '12 at 16:21
  • What exactly are you trying to do? Change the timezone in a server or a desktop version? If the desktop, are you trying to add UTC to the indicator-datetime or you want to configure the network time? Your question is a little ambiguous and would require some additional info about what you have already tried and where you tried adding UTC so we can better guide you. – jokerdino Mar 30 '12 at 22:45
  • I think UTC appears there as GMT. – viyyer Mar 31 '12 at 6:07
23
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.

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.

  • Thanks, "UTC" only was too simple, struggled a bit with this. – philant Nov 6 '13 at 15:53
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
  • 2
    Isn't that just my personal timezone? I'm trying to set the one for the server. – Thom Mar 30 '12 at 16:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.