
Ubuntu change timezone
Let me show you how to change the timezone for Ubuntu.
I installed an Ubuntu server, 22.04. And then I discovered that the time displayed was not correct. Hey, I was pretty sure that I had selected the time zone during the GUI installation process. Or had I not? Anyway, the time was one hour behind.
This sort of careless error can happen to anyone. So for those of you who might sometimes be in the same boat as me: don’t worry! Here’s how to fix the issue, and it’s really easy!
You must be logged in as a user with sudo privileges to change the systemās timezone.
First, list all available time zones or use this list.
- List-timezone
timedatectl list-timezones
- Set-timezone
sudo timedatectl set-timezone <timeszone>
Example sudo timdatectl set-timezone Europe/Zurich
Check out my other articles about Linux