?
Solved

Difference between GMT-5 and EST

Posted on 2003-03-13
3
Medium Priority
?
1,550 Views
Last Modified: 2013-12-26
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?
0
Comment
Question by:islandice1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 9

Accepted Solution

by:
HamdyHassan earned 150 total points
ID: 8131101
This is the TZ setting at /etc/default/init
TZ=US/Eastern
0
 
LVL 9

Expert Comment

by:HamdyHassan
ID: 8131118
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*
0
 
LVL 9

Expert Comment

by:HamdyHassan
ID: 8131176
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.


0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question