Find the answer to your Linux question:
Results 1 to 8 of 8
Hello, I am using fedora 12. In my system there's dual boot and time showing in windows XP and time in fedora GMT is same and correct. But I selected ...
  1. #1
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Time settings problem

    Hello,
    I am using fedora 12. In my system there's dual boot and time showing in windows XP and time in fedora GMT is same and correct. But I selected my location. But the time is different for my location. And actual time is showing as GMT. If I change the time, to correct it, the time in other OS will also be changed. Help needed.
    I want to rest the GMT an location time.

  2. #2
    Just Joined!
    Join Date
    Mar 2010
    Location
    Lubbock Texas
    Posts
    3
    Is the time in your bios correct? This can sometimes be the issue.

  3. #3
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101
    Quote Originally Posted by Dexter5781 View Post
    Is the time in your bios correct? This can sometimes be the issue.
    I think it is. Because, correct time shows on all OS including windows. In fedora 12, correct time is showing. But my location time is GMT+5.30hr. Now time here is (at time of writing) 12:52 PM in my location. But my system displays as 12:52 is the GMT time and my location time is 12:52+5.30
    I think you understand my question. Don't mess up with time. Just tell me how to rest GMT time (not location time) in terminal.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Disable UTC in Date and Time settings.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    How?

    I'm sorry. I don't know how to set UTC.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Set UTC value to false in /etc/sysconfig/clock file.
    Code:
    UTC=false
    Reset Time to correct local time after editing /etc/sysconfig/clock file.

    In case it doesn't work, execute this
    Code:
    hwclock --localtime
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Result

    I opened the file clock using gedit.It looks like this:

    # The time zone of the system is defined by the contents of /etc/localtime.
    # This file is only for evaluation by system-config-date, do not rely on its
    # contents elsewhere.
    ZONE="GMT"

    /etc/localtime is aa binary file. cat localtime results:

    TZif2GMTTZif2GMT
    GMT0

    Please provide the next step.

  8. #8
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    For some of our production RHEL systems we have to set "TZ=GMT0BST" in /etc/profile and /etc/environment to make this go away for certain uses. (Just add the line to the bottom of the file)

    Not sure if this is relevant here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...