My Computer Tips

Home | About | Categories | All Tips & Tutorials

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

ID: 74

Category: Ubuntu

Added: 17th of March 2016

Updated On: Tutorial updated and rechecked on 30th of September 2021

Views: 3,896

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