Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-14-2004, 03:27 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
about time display in redhat 9

I am running a problem with my redhat 9 desktop. one day user showed the different time from the root did. here is the output for user and root using them same command: date, and clock.

Thu Oct 14 20:25:22 UTC 2004
[root@oric Desktop]# date
Thu Oct 14 13:25:30 PDT 2004

Thu 14 Oct 2004 01:25:39 PM UTC -0.133247 seconds
[root@oric Desktop]# clock
Thu 14 Oct 2004 01:25:34 PM PDT -0.757379 seconds
[root@oric Desktop]# exit

user's date showed 7 hours' ahead. any ideas ?
thank you for your attention.


Old 10-26-2004, 11:02 PM   #2
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
If you look closely you will see that the timezone for the user and root are different. The user is set to UTC (Zulu time as the Marine Corps like to refer to it) where as root is set to PDC (Pacific Daylight Time) such as the time in Washington State. These timezones are off by seven hours which accounts for the apparent time difference between these two users (actual time is the same).

If memory serves their are a couple places that the timezone setting can be set. For individual users look in their .bashrc or .bash_profile, for system defaults look in the following


Good luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
display time in the prompt rpb Linux - General 1 05-18-2005 04:03 PM
xlsfonts is dependant on DISPLAY setting not working on one display with Redhat iainsear Linux - General 0 12-21-2004 06:24 AM
xlsfonts is dependant on DISPLAY setting not working on one display with Redhat iainsear Linux - General 0 12-21-2004 06:19 AM
Display the date and time from another time zone lothario Linux - Software 4 07-31-2004 03:27 PM
Telling ls to display one screen at a time rl5 Linux - Newbie 3 03-23-2004 07:29 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration