Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2010, 10:50 PM   #1
Registered: Aug 2009
Distribution: xubuntu
Posts: 39

Rep: Reputation: 16
windows & linux time problem

Well I have linux (fedora 11) and XP in same machine and time is not same in this two os. When I correct time in XP, the time of linux change and when change time in linux, XP time change.
How can I solve this?
Old 01-20-2010, 10:56 PM   #2
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
This is a common problem.

Windows sets the hardware clock to local time, and insists on doing so.

Linux traditionally uses the hardware clock set to UTC.

You need to configure Fedora so that it treats the hardware clock as set to local time. You should have been given this option at installation, but evidently it wasn't set right then.

A quick google reveals that running 'system-config-time' (probably as root) should sort things out.

You also want to make sure that only ONE of your OSes does the daylight saving time adjustments.
Old 01-20-2010, 11:04 PM   #3
Senior Member
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,765
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
which time changes when

All that cantab says makes good sense in your situation. Also:

When you "change the time" you alter the information of the running operating environment.

The running operating environment grabs the hardware (BIOS) clock time at boot time. Where did this hardware clock learn the time?

When you "change the time" do you use the options that save that change to the hardware clock? If not, then as you re-boot, the OTHER environment learns the old hardware time not the current environment time. My Ubuntu Koala implements the hwclock --set --date=... command to alter the hardware clock setting.

~~~ 0;-Dan

Last edited by SaintDanBert; 01-20-2010 at 11:06 PM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem synchronising files with linux & windows shellarchive Red Hat 1 11-10-2009 12:48 AM
why does time of windows chnages when linux time is set ankitp Linux - Newbie 3 08-04-2008 04:02 PM
Long time Windows users, first time Linux user Towjam Member Intro 1 06-21-2008 01:08 PM
Time Differences between linux & windows in my Java App MRMadhav Programming 4 05-09-2006 04:21 AM
Ways To Run Windows & Linux Same Time megadeth Linux - Software 1 03-13-2005 06:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 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
Open Source Consulting | Domain Registration