LinuxQuestions.org
Register a domain and help support LQ
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, 10: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, 10:56 PM   #2
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
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
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.1 with Cinnamon & KDE
Posts: 1,478
Blog Entries: 3

Rep: Reputation: 95
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 11: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-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 LinuxQuestions.org 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


All times are GMT -5. The time now is 02:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration