CentOS 8.x Change system timezone

From Notes_Wiki
Revision as of 03:31, 19 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 8.x > System Administration > CentOS 8.x Change system timezone

To change system timezone we can use timedatectl (similar to hostnamectl) command:

  1. To change timezone to Asia/Kolkata use:
    timedatectl set-timezone 'Asia/Kolkata'
  2. To see time in UTC and current timezone use:
    timedatectl


There is older article on this at CentOS 7.x Change system timezone


Home > CentOS > CentOS 8.x > System Administration > CentOS 8.x Change system timezone