LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2007, 07:26 AM   #1
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Daylight Savings Time Change?


On a dual boot system if the software for one OS has the upgrade for the time change will it change the time on the other OS. If so what happens when the second OS thinks its time to change the time?
 
Old 02-17-2007, 07:55 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Dual OS. Windows and Linux. Linux and OS/390? MacOS and Windows?


Dissimilar operating systems won't share information about timezones.

Even with Linux and Linux unless they share the same /etc/localtime and the timezone files then changing one won't have any effect on the other. You're probably not sharing these directories.

That is to say you need to update both OSes.

Your question sounds like it is prompted by a misunderstanding of time and timezone. On UNIX/Linux time is stored as UTC (a/k/a GMT or Zulu). Timezone on the other hand is what is used to determine how the system sees the time. For example for EST5EDT timzeone there is an offset of 5 hours from UTC for EST (and 4 hours for EDT).

Translation: Changing timezone is not the same as changing time.
 
Old 02-17-2007, 09:09 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100

Original Poster
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
The operating systems are XP and Suse, what brought this question to mind was when you do a new install it picks time up from (bios I thought)and times when I go back to bios the time was changed, but that was with an Windows only install and not a dual boot. If this assumption isn't correct, when I enter bios which time would it read?

Last edited by Larry Webb; 02-17-2007 at 09:11 AM.
 
Old 02-18-2007, 02:24 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Very odd. I'd replied to this before but it didn't post.

Anyway: Previously I'd noted there is a difference between time zone and time. Now I'll note there is a difference between hardware clock time and "system" time. On boot your system gets it's system time from the hardware clock. As noted though in UNIX/Linux system time is actually stored as UTC rather than your local time. It is the timzeone information that determines how it is DISPLAYED.

I would recommend doing the following in Linux:
1) Use the date command to set your system time (using your current timezone time - it will be stored in UTC in the background).
2) Use the "hwclock -systohc" command to set your hardware clock to the system time.
3) Apply your DST changes (3 really has nothing to do with 1 and 2 but needs to be done before the Mar 11th time change if you're in the U.S. or one of the other countries adjusting their DST then).
4) Reboot into XP and see if the time is OK there.
 
Old 02-18-2007, 07:24 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100

Original Poster
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Thank you, appreciate your patience with me and for taking the time.
 
Old 03-10-2007, 04:35 PM   #6
mslolo111
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
what should the linspire customers do about the new daylight savings time ?
 
Old 03-11-2007, 03:21 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Sorry don't use Linspire so not familiar with it.

Doing a Google search for "linspire" and "DST" pulled up a lot of hits. You may want to try that.

Even if you didn't figure it out ahead of time don't say to yourself "well it's already too late" or you'll have to manually deal with it in April again then in October then again next March etc...
 
Old 03-11-2007, 03:08 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
The only issue could be if both Windows and Linux try to change the time, and you end up doubling it. I'd try booting into Windows first (since it will probably try to change the clock) then boot into Linux. If the time is still wrong, I'd then just go to BIOS and fix it manually

Last edited by J.W.; 03-11-2007 at 03:12 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Daylight savings time this year pueblonative SUSE / openSUSE 14 03-11-2007 05:09 PM
Change to Daylight Savings Time has shifted my file times hippiness Linux - General 4 03-31-2006 02:31 PM
Daylight Savings time depdiver Linux - General 4 03-13-2006 01:30 PM
Daylight savings time depdiver Red Hat 2 02-21-2006 10:00 AM
Daylight savings time Jeebizz Slackware 13 11-21-2005 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:09 AM.

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