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

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Change system timezone">CentOS 8.x System Administration|System Administration</yambe:breadcrumb> =CentOS 8.x Change system timezone= To change system...")
 
m
 
(2 intermediate revisions 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>
#:: timezonectl set-timezone 'Asia/Kolkata'
#:: timedatectl set-timezone 'Asia/Kolkata'
#:</pre>
#:</pre>
# To see time in UTC and current timezone use:
# To see time in UTC and current timezone use:
#:<pre>
#:<pre>
#:: timezonectl
#:: timedatectl
#:</pre>
#:</pre>




'''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