Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Difference between GMT-5 and EST

Posted on 2003-03-13
3
Medium Priority
?
1,559 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
  • 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 your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

577 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