Clock hour changes when previously booted with Windows

WTH!?

On Windows 7 the hour is correctly displayed, but when booting back with openSUSE 12.2 x86_64 GNOME 3.4 it goes back 5 hours, and I have to change it again!
What’s this?

Have a look at this blog as it might pertain to the problem that you see.

What is UTC or GMT Time & a possible issue with openSUSE 12.2 and its solution. - Blogs - openSUSE Forums

Thank You,

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Most operating systems correctly set the hardware clock to UTC/GMT,
which is the time that computers all use internally; these OS’s (Linux
included) then calculate the timezone and daylight savings time offset
and display that to you when required. windows incorrectly sets the
hardware clock to local time. As a result when you boot back into Linux
your time is off by your current different from GMT (5 hours could be
CDT (central time in the USA) during daylight savings time, or eastern
time during non-daylight-savings-time, or somewhere else over in Asia if
it’s +5 instead of -5.

Easiest fix: stop using windows or other dumb OS’s.

Other easy fix from the OS that accommodates crap, even windows crap, go
into Yast in your time settings and have Linux treat your hardware clock
as if set to local time.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQX3RrAAoJEF+XTK08PnB5T8gP/1VN8B4ZV3UfqdTKolNtOdH6
wdb2byVpd6DpRgQhwFdd+Kiyt84cfTTcECaGHAvFPKG8Am+y5T5jc8c1oEVzZ2Rc
dGpOYLJ2C50Xqxjf2k0L++apxJJQ9iZZALoL9jNqltpWBKWiiV42YOk+/Fnl1w3a
cVePT633YbQRJSssIkQO4T+VSEyCi9yKkKljiw26lWFBSXy/tdCcX54EJQHCYhg6
wylP7UOLClBrecSSxkmAsna5n7W6oaQ4FLOcOGNbWyMmoETTKlsKnO37JZRkcAr+
GFg9HfqctTp31pgRvexovwKIBo3lUTnDaVMfKFfY2UoM4UiLCvBM9ZGZ11GNydy4
i9v/4Fg3qImzKc5HAH83qIacD0QrZQi4E9tZ+n43t6SrlokiI9RkZM2BoRojo57u
Y3E+Fh3YIlrZIbxmxqz5bmQyLfwnRfNlaKY/A1/PkbQL7Ia5I0aReBi4cwS95GL7
cjYkLxdNP6163UZAWkPrX7vatxrkzkZr21THrlf3cVagqnz5lmE2sfrOzDhmo+nR
rpS75+Er2tS0OnmxojJ1aBYli8/s6lOo3bGIMiRdkoeTOWS9NpcPvoJhBy5EOWR4
KRkVCITTyvU4CA4F6b2TE+NedQz05poNrnUE8/9UWRBRi10Tp3u5wOy6OIYp7VnA
6FRFdWZPV/6Ng95kvWy9
=OL+f
-----END PGP SIGNATURE-----

On 2012-09-23 20:56, F style wrote:
>
> WTH!?
>
> On Windows 7 the hour is correctly displayed, but when booting back
> with openSUSE 12.2 x86_64 GNOME 3.4 it goes back 5 hours, and I have to
> change it again!
> What’s this?

Must be one of the most frequently asked questions these days. You did not search the forum
before asking, did you? :slight_smile:

View this thread
View this thread


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

That is all correct, but you missed that there is a bug in 12.2 where this setting is not saved.
See @jmcdaniel3’s blog and the other (several) threads abbout this since 12.2 was released.

On 2012-09-24 10:26, hcvv wrote:
>
> ab;2489882 Wrote:
>>
>>
>> Other easy fix from the OS that accommodates ****, even windows ****,
>> go
>> into Yast in your time settings and have Linux treat your hardware
>> clock
>> as if set to local time.
>>
>> Good luck.
>>
> That is all correct, but you missed that there is a bug in 12.2 where
> this setting is not saved.
> See @jmcdaniel3’s blog and the other (several) threads abbout this
> since 12.2 was released.

I have not looked, but I wonder if this is in the release notes? Mmm, yes, it is. So, it is the
OP fault for not reading :slight_smile: Or perhaps not. The info in the release notes is too brief and
incomplete.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

It’s not difficult to alter the registry in Windows so that it uses UTC. Simply paste the following into a notepad file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
“RealTimeIsUniversal”=dword:00000001

and save it with the .reg extension. Then double click on it and agree with everything you are asked. The key will be added to the registry database and you can set openSUSE to use UTC too. Then you should not have any further problems.

I don’t think Windows is dumb just because a small amount of effort is required to change its default behaviour.

On 2012-09-27 20:46, eaglesgift wrote:
>
> It’s not difficult to alter the registry in Windows so that it uses UTC.
> Simply paste the following into a notepad file:

This is included in the link that jmcdaniel3 posted days ago.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

My apologies - I didn’t follow the link.

I have changed this and then my widnows as well as linux clocks were off :slight_smile: I guess changing the clock in the BIOS is required for this as well.

On 2012-09-28 12:26, glistwan wrote:

> I have changed this and then my widnows as well as linux clocks were
> off :slight_smile: I guess changing the clock in the BIOS is required for this as
> well.

I use this method, both Linux and Windows 7 with the CMOS clock in UTC time, works perfect. But
of course, at least one of the oses has to set up the clock in cmos.

However, I use oS 11.4 there, 12.2 has differences.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Absolutely - have to set the BIOS time after making the changes, as Robin said.

If none of your operating systems do it you can just hit delete or F2 or whatever the appropriate key is on your machine to enter the BIOS setup and change it yourself. You probably already know how to do that but I noticed on my machine that you have to tab down to the time, type in the hour/s and then hit enter (then of course F10 to save and exit). If I try to just tab away once I have changed the hours it freezes for a few seconds and resets the time to what it already was.

Not all Linux distros default to UTC either, so with the amount of installing I do I end up changing the BIOS clock quite often:'(.
I spent a long time hiding away in Windows and now I am making up for it by being a complete Linux *****! :slight_smile:

(Sorry - looks like the word for ladies of the night is censored on this forum. No offence intended)