This article was updated and rechecked on 30th of September 2021

Category: Ubuntu

Added: 17th of March 2016

Updated On: 30th of September 2021

Viewed: 3,548 times


Unable to set the correct time in Ubuntu and Ubuntu based distributions

Recently ran in to a problem using Ubuntu Gnome where the time kept going back -5 hours of GMT.

Even after setting the time through the control panel and rebooting the system, it was still showing the incorrect time.

To rectify this problem, I installed the tzdata package by entering the following command in terminal

sudo apt-get install tzdata


After the package installed, I then ran the following command and was able to set the correct time via the terminal
sudo dpkg-reconfigure tzdata