Check and Change current TimeZone in CentOS 6/7

Check Date of your Machine which includes Time.



Check Current TimeZone.

date +’%Z %z’


Change TimeZone in CentOS 6


Backup current TimeZone in /root directory

cp /etc/localtime /root/timezone.old


Create Symbolic Link to your desired TimeZone

My desired TimeZone is IST

ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime


Check Date



Verify TimeZone

date +’%Z %z’


Change TimeZone in CentOS 7


List all TimeZone

timedatectl list-timezones


List TimeZones of Asia

timedatectl list-timezones | grep Asia


Change TimeZone to IST

timedatectl set-timezone Asia/Kolkata


Check Date



Check TimeZone

date +’%Z %z’


Was this answer helpful? 0 Users Found This Useful (0 Votes)