Difference between revisions of "CentOS 8.x Change system timezone"
From Notes_Wiki
m |
m |
||
Line 2: | Line 2: | ||
=CentOS 8.x Change system timezone= | =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> |
Revision as of 07:06, 19 March 2021
<yambe:breadcrumb self="Change system timezone">CentOS 8.x System Administration|System Administration</yambe:breadcrumb>
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