LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   date and time (https://www.linuxquestions.org/questions/ubuntu-63/date-and-time-550377/)

vmelkon 05-01-2007 09:01 AM

date and time
 
This is a dumb question. I did some search on these forums and also on yahoo.com but couldn't find anything relevant.
When I boot into Kubuntu, the time used to be incorrect. It was always 4 hours behind. When I fix the time and reboot to Win XP, the time in XP is 4 hours forward.

Now, things have changed. Perhaps I did something to fix this time issue.
When I boot in Win XP, the time is fine, I boot into Kubuntu, the time is fine, then I go back to WIn XP, the time is 4 hours forward.

I'm sure my battery is fine. If I don't use Kubuntu for days and just boot to Win XP everyday, the time is always correct.

Centinul 05-01-2007 09:11 AM

Have you tried looking at /etc/conf.d/clock (I think that is the file)? I believe that has settings in it that may modify the system clock on shutdown. If it does turn them off and that should fix your issue.

HTH,

Centinul

vmelkon 05-02-2007 08:06 AM

folder /etc/conf.d doesn't exist but /etc/cron.d exists
and inside there is .placeholder and anacron

It's also difficult to describe the problem because I have to hit reset to reboot the system.
It doesn't reboot when I use the Kubuntu reboot feature.

It seems as if in Kubuntu, the time is actually 4 hours behind.
In Windows, it shows up correctly and in the CMOS it shows up correctly.
Why doesn't Linux show the time in the CMOS?
I had this issue with other distros as well


Ok, I chose Godthab (wherever that is) as my location in the date and time configure thing and the time is correct now. I am in Montreal actually which was my previous setting. Fucking weird.

vmelkon 05-02-2007 09:01 PM

No, looks like the time issue didn't work yet.
Can't I make Linux just read the time from CMOS?
And also if I do change the time in Linux, it changes it in the CMOS so when I'm back into Windows, the time is wrong.

HappyTux 05-02-2007 09:08 PM

Quote:

Originally Posted by vmelkon
No, looks like the time issue didn't work yet.
Can't I make Linux just read the time from CMOS?
And also if I do change the time in Linux, it changes it in the CMOS so when I'm back into Windows, the time is wrong.

Look into the /etc/default/rcS file and change the UTC = yes to UTC = no.


All times are GMT -5. The time now is 05:23 PM.