Thursday, 11 January 2018

How to change Ubuntu timezone to UTC

Problem:

How can I change my timezone to UTC in Ubuntu?

Solution:

  1. In a terminal window type:
    sudo dpkg-reconfigure tzdata
    
  2. Then select "None of the above":
  3. After that, select "UTC":

If all goes well then the "date" command should show the date and time in UTC.

References:

No comments:

Post a Comment