FedoraRHEL Based

How To Change TimeZone on Fedora 38

Change TimeZone on Fedora 38

In this tutorial, we will show you how to Change TimeZone on Fedora 38. In the world of Linux, Fedora 38 stands tall as a popular and user-friendly distribution. One of the essential aspects of managing your Fedora system is configuring the TimeZone correctly. Whether you’re traveling, relocating, or merely adapting to different time zones, knowing how to change the TimeZone using the Command Line Interface (CLI) is a valuable skill.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step Change TimeZone on a Fedora 38.


  • A server running one of the following operating systems: Fedora 38.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A stable internet connection is crucial as we’ll be downloading and installing various packages and dependencies from remote repositories.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Change TimeZone on Fedora 38

Step 1. Before we can change TimeZone on Fedora 38, it’s important to ensure that our system is up-to-date with the latest packages. This will ensure that we have access to the latest features and bug fixes and that we can change TimeZone without any issues:

sudo dnf update

Step 2. Checking Current TimeZone.

Our first task is to understand your system’s current TimeZone. This knowledge will serve as a reference point for any changes you make. Open your terminal and enter the following command:


This command will display an array of information, including the current TimeZone, time, and date settings.

Step 3. List Available TimeZones.

Fedora 38 provides access to a plethora of TimeZones to cater to diverse needs. To view the available TimeZones, utilize the timedatectl command with the list-timezones option:

timedatectl list-timezones

This command generates a substantial list of TimeZones for you to choose from.

Step 4. Changing TimeZone on Fedora 38.

Now that you have decided on the TimeZone you wish to set, it’s time to make the switch. Use the timedatectl command with the set-timezone option, replacing "Your_Desired_TimeZone" with your chosen TimeZone:

sudo timedatectl set-timezone Your_Desired_TimeZone

For example, if you are in New York, you would use:

sudo timedatectl set-timezone America/New_York

Step 5. Verifying TimeZone Change.

After changing your TimeZone, it’s crucial to verify the adjustment. Re-run the timedatectl command:


To maintain consistency between your system time and the hardware clock, it’s essential to synchronize them. Use the following command:

sudo hwclock --systohc

This command updates the hardware clock (RTC) with the system time, ensuring that your system time remains accurate even after reboots.

Step 6. Troubleshooting Tips.

  • Permission Issues

If you encounter permission-related issues while trying to change the TimeZone, ensure that you are logged in as a user with sudo privileges. If not, switch to the root user or use the sudo command as shown in the previous steps.

  • Incorrect TimeZone Name

Double-check the spelling and case of the TimeZone you intend to set. A minor typographical error can lead to a failed TimeZone change.

  • Systemd Service Conflict

In some cases, you might encounter conflicts with systemd services. If you receive an error related to systemd, you can try stopping and restarting the systemd-timesyncd service:

sudo systemctl stop systemd-timesyncd
sudo systemctl start systemd-timesyncd
  • Reboot if Necessary

While Fedora should apply the TimeZone change immediately, in rare instances, you might need to reboot your system for the changes to take full effect.

Congratulations! You have successfully changed TimeZone on Fedora Linux. Thanks for using this tutorial for Change TimeZone on your Fedora 38 system. For additional help or useful information, we recommend you check the official Fedora website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button