0
votes
1answer
25 views

bash date not using the set timezone

I have export TZ="/usr/share/zoneinfo/Europe/London" in my .bashrc file, but the following output the time in UTC (GMT) export TM=`date +%H%M%S` export DTTM="`date +%a\ %F\ %T\ %Z`"
1
vote
2answers
177 views

Server timezone changed to PHT but logs still written in MST?

A couple of days ago, I updated the timezone on an Ubuntu 12.04 LTS server using $ sudo dpkg-reconfigure tzdata. Today I noticed while tailing the mail log, that the times were still 15 hours behind. ...
1
vote
1answer
108 views

Linux date translation to different time zone

The Linux server is hosted in EST timezone. But I want to translate the output of date command to IST(Indian Standard time +5:30 hrs) format and use it in a shell script. Is there any option available ...
3
votes
2answers
2k views

Why is $ date still displaying EST when /etc/localtime is symlinked to /usr/share/zoneinfo/GMT?

I'm having a problem setting the date on my server... $ ls -la /etc | grep localtime lrwxrwxrwx 1 root root 23 Mar 6 12:07 /etc/localtime -> /usr/share/zoneinfo/GMT For some reason, although ...
0
votes
1answer
243 views

Timezonesetting not honored, system keeps sitting on timezone

whatever I try, my system (Ubuntu) stays at BRT time instead of CET. I have tried: sudo dpkg-reconfigure tzdata and set the timezone to "Europe/Berlin". date still shows BRT instead of CET or ...
3
votes
2answers
452 views

Question on date and timezone in Linux

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 ...