Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to change the system time zone under RedHat and CentOS

Posted on 06/04/202015/09/2026 Christian By Christian No Comments on How to change the system time zone under RedHat and CentOS
  1. Home
  2. Linux
  3. How to change the system time zone under RedHat and CentOS
How to change the system time zone under RedHat and CentOS

The system time zone setting is used for managing time-related information, such as displaying the correct time and date on your computer, scheduling tasks, and handling time-related data. Changing the time zone can affect various system functions and can lead to synchronization and scheduling issues. See related guides: Enable or disable Linux System’s Clock Sync with NTP Server and Kerberos error: Clock skew too great while getting initial credentials.

This guide will provide you with details on how to change the system time zone under RedHat and CentOS.

When you have some servers in your enterprise environment running in different timezones. It is vital to have your servers (Master and Slaves) running in the same time zone. This helps in having an accurate timestamp of events.

The command timedatectl prints extensive information about the timezone as shown below:

timezone information

Another way to achieve this is by running the syntax below

hwclock --show
run the syntax hwclock --show

To list available timezones, run the command below

timedatectl list-timezones
list of timezones

Please see AWS Network Adapter: Redhat to Citrix PV and AWS PV Driver, Domain Name System: How to create a DNS record, how to Install and configure Ansible on Azure Virtual Machine, and the Different ways to check for Ansible syntax errors

Steps to change the system time zone

The time zone can be changed by executing the following command below

sudo timedatectl set-timezone <timezone>
Command line interface with a prompt for setting the timezone to Africa/Accra using the command 'timedatectl set-timezone'.

Next, Restart the Server with the command below

shutdown -r
A terminal window displaying a shutdown command with a scheduled reboot time and a broadcast message informing users of the reboot.

Also, see Enable or disable Linux System’s Clock Sync with NTP Server, and DNS Server: Setting Up a Third-Party on a Linux Server.

FAQs

Do I Need to Restart the System After Changing the Time Zone?

In most cases, you don’t need to reboot the system. The time zone change takes effect immediately after you run the timedatectl command to set the new time zone as described above. You can verify the change by running timedatectl or checking the system clock.

How Can I List Available Time Zones?

You can use the timedatectl command with the list-timezones option to display a list of available time zones. You can then select the desired time zone from the list.

On how to change the timezone in Ubuntu. That’s all for changing the system time zone under RedHat and CentOS. I hope you found this blog post helpful. Please leave a question or comment down below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Linux

Post navigation

Previous Post: The server could not be reached or validated: Timeout expired. The Time out expired prior to obtaining a connection from the pool
Next Post: How to enable Telnet in Windows 10 and Windows Server

Related Posts

  • Add User to Sudoers
    Add a User to the Sudoers List in Linux Linux
  • Run Linux on Windows Server
    How to install Windows Subsystem for Linux on Windows Server Linux
  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • featureunions
    How to Install Unison on Linux System Linux
  • chamedk8s featured
    Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift
  • Slide1
    Read-only Files: Saving Files in VIM Editor on Linux/Unix-like OS Linux

More Related Articles

Screenshot 2021 02 05 at 22.40.51 Disable automatic screen lock on Ubuntu Desktop Linux
FEATUREDC How to create Confidential VMs in Azure AWS/Azure/OpenShift
Screenshot 2020 05 14 at 17.47.09 Configure OpenSSH Server: A Quick Guide Linux
ntp server testen Enable or disable Linux System’s Clock Sync with NTP Server Linux
MM How to install Mattermost on Ubuntu and Debian Linux
Wiki in Linux How to Use Wiki from Linux Terminal Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • v13 harding Veeam
    Hardening Your Infrastructure: A Guide to VMware VBS and MS GPO Credential Guard in VBR v13 Backup
  • checkmk
    Perform System Monitoring with CheckMK Reviews
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin on Windows Windows
  • add or remove features on the specified server failed
    Error 0x80073701: The request to add or remove features on the specified server failed Windows Server
  • Fixed drives not encrypted by BitLocker via MBAM
    Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
  • create a Lenovo USB Recovery key
    Windows 10 Yoga Recovery: Download the files needed to create a Lenovo USB Recovery key Windows
  • sdfgh
    Get a list of installed applications on Windows Scripts
  • Azure Backup 1
    How to Install Azure Backup Agent AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,745 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.