How to change timezone on AlmaLinux

By default AlmaLinux 8 or 9 come preset with UTC time. To change to your own timezone, please below steps:

1) Find out current time/date

[[email protected]]# date
Sun Nov 13 14:48:51 UTC 2022

2) Find out current active timezone

[[email protected]]# ls -l /etc/localtime
lrwxrwxrwx. 1 root root 25 May 27 12:39 /etc/localtime -> ../usr/share/zoneinfo/UTC

3) Change your timezone

[[email protected] log]# timedatectl set-timezone Asia/Kuala_Lumpur

4) Confirm the new timezone set

[[email protected] log]# timedatectl

Local time: Sun 2022-11-13 22:55:17 +08
Universal time: Sun 2022-11-13 14:55:17 UTC
RTC time: Sun 2022-11-13 14:55:17
Time zone: Asia/Kuala_Lumpur (+08, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

  • almalinux, timezone, utc, date, time, timedatectl, /etc/localtime, universal time
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

How to mount /tmp and /var/tmp with noexec nosuid

Get this output from csf? " /tmp should be mounted as a separate filesystem with the...

How to migrate from OpenVZ VPS to KVM Cloud Server

If you are currently on OpenVZ-based VPS and wanted to migrate your server to our KVM Cloud...

How to activate cloud server firewall

There are two levels of firewall for Cloud Server: 1) default firewall (firewallld, iptables,...

IP Change Request

IP address is automatically assign by our system when service activation. As such, in general we...