Link to home
Start Free TrialLog in
Avatar of islandice1
islandice1

asked on

Difference between GMT-5 and EST

Hi-
I have a sun system with the TZ set to GMT-5. The contents of my /etc/default/init file are:
CMASK=022
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1

When I change TZ to EST my results from date shows up correct. Also if I were to changed my TZ to GMT+5, my result would be correct.  However, since I'm in Maryland,(GMT-5) and need to have the output of this command be GMT.  Can someone explain how I can obtain the desired results with TZ set to GMT-5?
ASKER CERTIFIED SOLUTION
Avatar of HamdyHassan
HamdyHassan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HamdyHassan
HamdyHassan

Also /etc/TIMEZONE should be S Link to same file

bin/ee> ls -lt /etc/TIMEZONE
lrwxrwxrwx   1 root     other         14 Apr 22  2001 /etc/TIMEZONE -> ./default/init*
After editing /etc/default/init , don't forget to reboot

also check user's .profile .csh files, it could be setup again in their login file.