Change Ubuntu Time or Timezone

ubuntuIt took me a while to figure out how to change the timezone in Ubuntu 12.04.  it wasn’t at all intuituve, so to save you the bother here are the commands you’ll need:


To change Ubuntu 12.04 time zone use the following command:

dpkg-reconfigure tzdata

To change the time or date use the following command:

sudo date newdatetimestring

Where newdatetimestring has to follow the format which is described below

Let’s say you want to set your computer’s new time to December 6, 2007, 22:43:55, then you would use:
sudo date 120622432007.55

Posted on January 6, 2013 at 13:04 by simon · Permalink
In: Linux

Leave a Reply