How to change timezone on AlmaLinux Print

  • almalinux, timezone, utc, date, time, timedatectl, /etc/localtime, universal time
  • 10

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

[root@demo]# date
Sun Nov 13 14:48:51 UTC 2022

2) Find out current active timezone

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

3) Change your timezone

[root@accounts log]# timedatectl set-timezone Asia/Kuala_Lumpur

4) Confirm the new timezone set

[root@accounts 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


Was this answer helpful?

« Back