How to change timezone on Linux server?

Change timezone on Linux server

You can change the time zone for your server by using following command.

First check the server current date

root@admin[~]#date

Tue Aug 14 10:10:29 EST 2018

As per above output, current timezone is EST.

For example we are changing time zone  from EST to IST

root@admin[~]#ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

root@admin[~]#date

Tue Aug 14 19:49:35 IST 2018

You can select a timezone as per your requirement by selecting a correct timezone present under the directory /usr/share/zoneinfo

If you have any issues, you can contact Live chat support to discuss issue.

Senior technical writer

Be Sociable, Share!
About Anant 366 Articles
Senior technical writer