Question on date and timezone in Linux
- by LinuxPenseur
Hi ,
I did the date command and it gave the following output
root@localhost:~$ date
Thu Dec 30 14:19:47 UTC 2010
Then i modified the date using date -s command whichn gave the following output
root@localhost:~$ date -s "12/30/2010 JST 14:19:47"
Thu Dec 30 05:19:47 UTC 2010
I noticed that the time changed to 9 hours behind UTC time to show exactly the JST time. But timezone as you can see is still showing UTC. Why is it showing the correct time and incorrect timezone?
Thanks