Difference between revisions of "CentOS 8.x Change system timezone"

From Notes_Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb self="Change system timezone">CentOS 8.x System Administration|System Administration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x Change system timezone]]
=CentOS 8.x Change system timezone=


To change system timezone we can use timezonectl (similar to hostnamectl) command:
To change system timezone we can use timedatectl (similar to hostnamectl) command:
# To change timezone to Asia/Kolkata use:
# To change timezone to Asia/Kolkata use:
#:<pre>
#:<pre>
Line 14: Line 13:


'''There is older article on this at [[CentOS 7.x Change system timezone]]'''
'''There is older article on this at [[CentOS 7.x Change system timezone]]'''
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x Change system timezone]]

Latest revision as of 03:31, 19 April 2022

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