How to change a timezone on CentOS 7 / RHEL7 / Ubuntu 15.10

change a timezone on CentOS 7
Change a timezone on CentOS 7

Chaning timezone in CentOS 7 / RHEL 7 / Ubuntu 15.10 is a very simple task, timedatectl command makes it easier for us to change the timezone in CentOS 7 / RHEL 7.


To change the system timezone from EDT to IST.

Now, first lets check the date with date command.

# date
Tue Oct 20 22:31:10 EDT 2015

As per the above command, my system is been configured in Eastern Daylight Time timezone.

Use the folllowing command to list all timezones.

# timedatectl  list-timezones

You can filter the output using grep.

# timedatectl list-timezones | grep -i kol

Set the timezone using foollowing command.

# timedatectl set-timezone Asia/Kolkata

Verify the new timezine using “date” command.

# date
Wed Oct 21 08:02:45 IST 2015

That’s All.


Share This Post