Author Topic: Why does my computer keep re-setting its time?  (Read 2419 times)

0 Members and 1 Guest are viewing this topic.

Offline fohat.digs

  • * Elevated Elder
  • Thread Starter
  • Posts: 6533
  • Location: 35°55'N, 83°53'W
  • weird funny old guy
Why does my computer keep re-setting its time?
« on: Thu, 07 May 2015, 19:53:24 »
Recently, my computer (a fairly current ASRock AM3+ with 8GB and strong accessories) will sometimes return to GMT even though it knows that I am in US Eastern time zone (GMT +5 or +4 depending on Daylight Savings Time).

I occasionally dual-boot (via BIOS) to Ubuntu 14.04 and Windows 7 but it happens under both OSs.

Am I confusing it when I switch back and forth?
"However, even though I was born in the Mesozoic, I do know what anyone who wants to reach out to young people should say: Billionaires took your money. They took your chance to buy a home. They took your chance at a good education. They stole your opportunities. Billionaires took the things you want in life. If you really want those things, you have to take them back.
That's the message. That's the whole message. Say that every day, not just to reach America's frustrated young white men, but people of every age, race, and gender.
Late-stage capitalism is a wealth-concentration engine, focused on vacuuming up every dollar and putting it in as few hands as possible. Republicans are helping that vacuum suck.
How does a tiny fraction of the population get away with this? They do it by dividing the other 99% of Americans against themselves."
- Marc Sumner 2025-05-30

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Why does my computer keep re-setting its time?
« Reply #1 on: Thu, 07 May 2015, 20:23:01 »
I have the same issue when switching back and forth between operating systems. I believe Linux expects the system clock to be set to UTC, and Windows expects the system clock to be set to local time, but I could have that backward. Updating the clock in either OS will affect the system clock, and mess things up for the next reboot. I believe there's a setting in Ubuntu somewhere to change its expectation for the system clock, but I don't know where as I haven't used Ubuntu in a few years and don't have a machine running that OS anymore.

E: https://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html might help

E2: Looks like that's old information, take a look here: http://askubuntu.com/questions/521171/time-keeps-changing-between-bios-windows-7-ubuntu-14-04
« Last Edit: Thu, 07 May 2015, 20:41:04 by user 18 »
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline smknjoe

  • Posts: 862
  • Location: Tejas
  • I like tactile, clicky, switches.
Re: Why does my computer keep re-setting its time?
« Reply #2 on: Thu, 07 May 2015, 20:55:49 »
user 18's suggestion should fix it for you.

What was the deal with your networking problem fohat?
SSKs for everyone!


Offline Snowdog993

  • Grace Under Pressure
  • Posts: 1587
  • Location: Over There! (Pointing)
  • Justifiably Clueless.
Re: Why does my computer keep re-setting its time?
« Reply #4 on: Thu, 07 May 2015, 21:06:27 »
Your CMOS battery may need to be replaced. 

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Why does my computer keep re-setting its time?
« Reply #5 on: Thu, 07 May 2015, 21:15:36 »
Your CMOS battery may need to be replaced.

If that were the issue, we would more than likely have issues with the year as well, rather than just the +/- 4 hours switching back and forth. This is a known issue with dual boot windows/linux systems due to different handling of the BIOS clock.
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline Snowdog993

  • Grace Under Pressure
  • Posts: 1587
  • Location: Over There! (Pointing)
  • Justifiably Clueless.
Re: Why does my computer keep re-setting its time?
« Reply #6 on: Thu, 07 May 2015, 21:37:02 »
Your CMOS battery may need to be replaced.

If that were the issue, we would more than likely have issues with the year as well, rather than just the +/- 4 hours switching back and forth. This is a known issue with dual boot windows/linux systems due to different handling of the BIOS clock.

??  I've never encountered that issue.  I was just guessing that it could be that.

Offline mason

  • have fun with her, ryan
  • Posts: 515
  • Location: LFK
Re: Why does my computer keep re-setting its time?
« Reply #7 on: Fri, 08 May 2015, 15:38:16 »
If that were the issue, we would more than likely have issues with the year as well, rather than just the +/- 4 hours switching back and forth. This is a known issue with dual boot windows/linux systems due to different handling of the BIOS clock.

I dual boot OSX and Windows 8.1 and the clock in Windows is always behind 4 hours.

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Why does my computer keep re-setting its time?
« Reply #8 on: Fri, 08 May 2015, 16:02:18 »
If that were the issue, we would more than likely have issues with the year as well, rather than just the +/- 4 hours switching back and forth. This is a known issue with dual boot windows/linux systems due to different handling of the BIOS clock.

I dual boot OSX and Windows 8.1 and the clock in Windows is always behind 4 hours.

OSX is unix based (BSD I believe), and so also assumes the BIOS clock is in UTC. I don't know anything at all about OSX, but it's likely you can adjust settings to similar effect.

Alternately, this is apparently a way to make windows use UTC (I haven't tested this myself): http://askubuntu.com/questions/169376/clock-time-is-off-on-dual-boot
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline Snowdog993

  • Grace Under Pressure
  • Posts: 1587
  • Location: Over There! (Pointing)
  • Justifiably Clueless.
Re: Why does my computer keep re-setting its time?
« Reply #9 on: Sat, 09 May 2015, 00:19:46 »
One other thing you can do, is go to the clock on Windows 7.  Open up the Date and Time settings.  Click on the Internet Time tab, and click Change Settings...
Make sure that Synchronize with an Internet Time Server is checked, select Time.Nist.Gov.
Then click OK.

That re-synchs the clock to your correct time.  I hope this helps you Fohat.

Edit: Make sure you are in the correct Time Zone on the first tab too.

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Why does my computer keep re-setting its time?
« Reply #10 on: Sat, 09 May 2015, 09:28:39 »
That will synchronize the Windows clock, but it will also synchronize the BIOS clock, and it will no longer be how Ubuntu is expecting it.
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej

Offline Snowdog993

  • Grace Under Pressure
  • Posts: 1587
  • Location: Over There! (Pointing)
  • Justifiably Clueless.
Re: Why does my computer keep re-setting its time?
« Reply #11 on: Sat, 09 May 2015, 12:18:52 »
Hello.
https://help.ubuntu.com/community/UbuntuTime

You can synch Ubuntu too.
(Or vice-versa, if you prefer)
« Last Edit: Sat, 09 May 2015, 12:31:00 by Snowdog993 »

Offline user 18

  • * Senior Moderator
  • Posts: 2231
  • Location: Deutschland
Re: Why does my computer keep re-setting its time?
« Reply #12 on: Sat, 09 May 2015, 18:15:46 »
Yes, that's true. However, at boot time, the clock will still be wrong, and you'll need to either sync manually or wait for the scheduled sync to occur. Further down that same page, there's documentation regarding how to adjust Windows to expect a hardware clock using UTC, or to adjust Ubuntu to expect a hardware clock using local time. I would prefer the latter solution, as it is permanent and solves the time issue even without an active internet connection.
Please PM me if you are waiting on classifieds approval or have a question about the classifieds rules. | geekhack Terms of Service

Max Nighthawk x8 (MX Brown) | CM QFR (MX Blue) | CM QFR (MX Clear) | RK-9000 (MX Red) | Model M 1391401 | Model M SSK 1370475 | CM Novatouch | G80-8113 (MX Clear) | 60% (85g MX Blue) | Whitefox Aria (MX Clear) | CL-LX (MX Clear) | Mira SE (MX Clear)
Avatar by ashdenej