How to change your server time to IST (Indian Standard Time)

If you need to change your server clock to another timezone, you can do so by modifying the /etc/localtime file:

mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
date

root@host [~]# date
Thu Mar 4 09:54:56 IST 2010

This entry was posted in Daily Fixes, General, Howtos and tagged , , , , , , . Bookmark the permalink.

One Response to How to change your server time to IST (Indian Standard Time)

  1. Pingback: Tweets that mention How to change your server time to IST (Indian Standard Time) | lazyscripter.com -- Topsy.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">