LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-20-2010, 09:50 PM   #1
siaswar
Member
 
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, 09:56 PM   #2
cantab
Member
 
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, 10:04 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint v21.3 & v22.x with Cinnamon
Posts: 1,797
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.

Cheers,
~~~ 0;-Dan

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


Reply


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-09-2009 11:48 PM
why does time of windows chnages when linux time is set ankitp Linux - Newbie 3 08-04-2008 03:02 PM
Long time Windows users, first time Linux user Towjam LinuxQuestions.org Member Intro 1 06-21-2008 12:08 PM
Time Differences between linux & windows in my Java App MRMadhav Programming 4 05-09-2006 03:21 AM
Ways To Run Windows & Linux Same Time megadeth Linux - Software 1 03-13-2005 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 PM.

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