Advertisements
The steps are as follows :
[root@server ~]# date
Fri Mar 25 00:28:23 CDT 2011
Remove the localtime file [You can take a backup copy if you want]
[root@server ~]# rm -rf /etc/localtime
Link the desired zone to /etc/localtime
[root@server ~]# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
[root@server ~]# date
Fri Mar 25 10:59:02 IST 2011
[root@server ~]#
Thats it.
If you want to see time of any Country, Japan[say]. You can get it as.
[root@server ~]# zdump Japan
Japan Fri Mar 25 14:32:48 2011 JST
[root@server ~]#
You can also do this with tzselect command. Read how to change timezone using the tzselect.
No comments:
Post a Comment
Be nice. That's all.