Find the answer to your Linux question:
Results 1 to 7 of 7
I have XP installed & recently i installed FC10 .from then on both the OS display wrong date and time . how should i fix this?...
  1. #1
    Just Joined! athlete's Avatar
    Join Date
    Sep 2008
    Location
    Pune
    Posts
    30

    Incorrect Time & Date

    I have XP installed & recently i installed FC10 .from then on both the OS display wrong date and time . how should i fix this?

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Location
    San Antonio, TX
    Posts
    21
    I suspect this is due to XP not setting the hwclock to UTC and Fedora referencing the clock as UTC.

    The easiest way to correct this is to edit '/etc/sysconfig/clock' value for UTC=true to UTC=false.

    If it is not there then you need to add it.

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    I think it's because you need to set your time to local, try this command
    Code:
    hwclock --set --date='03/31/09 21:08:40' --localtime
    Of course you need to change the above command to reflect the correct time in your area.
    After this, you'll need to set the time in XP also, but I don't think it's going to change anymore.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Why not just run NTP? No need to fiddle with the time settings then.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Will that solve the problem of Windows time being incorrect too or this a BIOS thing?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  6. #6
    Linux Newbie tiersen's Avatar
    Join Date
    May 2008
    Location
    Tokyo,Japan
    Posts
    226
    Try this
    Code:
    hwclock --systohc --localtime
    date "ddmmhhmm"
    Good Luck!!!
    "If we lived in a world where the better technology won out, then no doubt everybody and their aunt Fanny would be using GNU/Linux"
    Sam Varghese

  7. #7
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Windows has an NTP app also.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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