Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-01-2013, 09:53 AM   #1
Senior Member
Registered: Sep 2013
Distribution: Void Linux / Slackware 14.2
Posts: 4,167

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
Post TIME STAMP swap's or offsets between OS's

sorry don't read I fixed it -- sorry for wasted HD space on server for this question --

ok I got Slackware 14 and XP dual boot my time keeps swapping to different times when ever I boot into the other OS.

if in XP I set it to the correct time then boot into Linux it is off by about five hours exmp. it's 9:40 AM now set XP to show current time boot to Linux it shows 4:40 AM set correct time in linux by

1) use timeconfig set it to use the PC local time it does not change it to the right BIOS time

date time still shows - Tue Oct 1 04:46:13 CDT 2013 when it is 09:46

if I do date --set 'Tue Oct 1 09:46 CDT 2013' it sets it then when I go to XP the time is changed or offset by approx 5 hours (as I don't want to boot to XP to get the correct offset as i am writing this now in Linux)

after I do the date --set 'Tue Oct 1 09:46 CDT 2013' then do >#date it shows the changes I made then I do a >#hwclock --show it shows Tue 01 Oct 2013 05:00:48 AM CDT -0.376926 seconds like the hardware clock is not setting before I checked the BIOS time and it is set to the current correct time not that the >#hwclock --show command shows what gives, and how do I sync the two to show the correct time ?

is it not suppose to be pulling time date time off of the BIOS? or network somewhere depending on how it is setup? what is this extra time from hwclock?

Last edited by BW-userx; 10-01-2013 at 10:14 AM. Reason: update
Old 10-01-2013, 10:54 AM   #2
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
Thanks for posting back that you fixed it. You can mark this thread as solved by using the thread tools at the top.
It would also be a good idea to post the fix in case others have the same problem.

BTW the time offset between CDT and UTC is 5 hours. Basically windows expects the hardware clock to be set to local time. linux does not care but you have to setup the configuration files correctly.
Old 10-02-2013, 12:39 AM   #3
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 555

Rep: Reputation: 186Reputation: 186
Originally Posted by BW-userx View Post
sorry for wasted HD space on server for this question
How cute...

Welcome to Slackware Forums !



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
need help with time stamp script bufo Linux - General 3 10-25-2009 02:31 AM
time stamp of files ZAMO Linux - General 1 12-17-2008 05:45 AM
Time stamp Kalyani1 Linux - Software 0 11-07-2005 02:58 PM
set up the Time stamp Kalyani1 Linux - Software 3 11-06-2005 02:36 PM
Time stamp in Samba is 11 hours behind time stamp in Linux Linh Linux - General 3 09-04-2003 12:44 PM

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