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: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x Change system timezone]] | |||
To change system timezone we can use | 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:
- To change timezone to Asia/Kolkata use:
- timedatectl set-timezone 'Asia/Kolkata'
- 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