How to change the timezone in Ubuntu server

ubuntu change timezone
Linux

Ubuntu change timezone

Let me show you how to change the timezone for Ubuntu.
I installed an Ubuntu server, 24.04. And then I discovered that the time displayed was not correct. I was fairly certain 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 find yourself 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 timedatectl set-timezone Europe/Zurich

I’d love to hear from you — was this article helpful? Share your thoughts in the comments below. If you prefer, you can also reach me by email or connect with me on Reddit at Navigatetech.

Full Disclosure

Any purchases made from clicks on links to products on this page may result in an affiliate commission for me. 

Please keep in mind that the quantity or price of items can change at any time.

As an Amazon  Associate, I earn from qualifying purchases.

Als Amazon-Partner verdiene ich an qualifizierten Verkäufen

About the author


Leave a Reply

Your email address will not be published. Required fields are marked *