You are not logged in.

#1 2021-06-03 10:03:51

funkaddict
Member
Registered: 2018-08-13
Posts: 117

[SOLVED] Completely confused by time/timezone settings

Hey there,

my time settings are making me insane. I got twisted a little bit upside down so I applogize for silly questions. At this point, the wiki doesn't help me. So I would ask for some help.

In the BIOS of my laptop the hardware clock says 12:59:48. However, in Arch I see:

hwclock --show
2021-06-03 12:59:48.632567+02:00
 timedatectl status
               Local time: Thu 2021-06-03 13:00:40 CEST
           Universal time: Thu 2021-06-03 11:00:40 UTC
                 RTC time: Thu 2021-06-03 11:00:40
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no

However, my time in Germany should be 12:00. What am I doing wrong?

Last edited by funkaddict (2021-06-03 13:21:14)

Offline

#2 2021-06-03 10:06:10

SimonJ
Member
From: Spain
Registered: 2021-05-11
Posts: 367
Website

Re: [SOLVED] Completely confused by time/timezone settings

You need to change the local time to yes or set the BIOS to UTC


Rlu: 222126

Online

#3 2021-06-03 10:38:01

funkaddict
Member
Registered: 2018-08-13
Posts: 117

Re: [SOLVED] Completely confused by time/timezone settings

SimonJ wrote:

You need to change the local time to yes or set the BIOS to UTC

Thank you I tried both before. Unfortenunately I cannot change the BIOS to UTC it is somehow locked even when I enter the correct bios password, the time settings cannot be changed. Thus I'd prefer to change it in Arch but this doesn't seem to solve the problem:

$ timedatectl
               Local time: Thu 2021-06-03 13:35:18 CEST
           Universal time: Thu 2021-06-03 11:35:18 UTC
                 RTC time: Thu 2021-06-03 13:35:18
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

Offline

#4 2021-06-03 11:10:55

SimonJ
Member
From: Spain
Registered: 2021-05-11
Posts: 367
Website

Re: [SOLVED] Completely confused by time/timezone settings

funkaddict wrote:

Thank you I tried both before. Unfortenunately I cannot change the BIOS to UTC it is somehow locked even when I enter the correct bios password, the time settings cannot be changed. Thus I'd prefer to change it in Arch but this doesn't seem to solve the problem:

$ timedatectl
               Local time: Thu 2021-06-03 13:35:18 CEST
           Universal time: Thu 2021-06-03 11:35:18 UTC
                 RTC time: Thu 2021-06-03 13:35:18
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no

Is that not correct? Also enable ntp to keep the time synced.


Rlu: 222126

Online

#5 2021-06-03 11:44:30

funkaddict
Member
Registered: 2018-08-13
Posts: 117

Re: [SOLVED] Completely confused by time/timezone settings

SimonJ wrote:

Is that not correct?

Nope, now it is UTC is

       Universal time: Thu 2021-06-03 12:42:20 UTC 

where it should be  11:42:20 according to https://time.is/de/UTC

Simon wrote:

Also enable ntp to keep the time synced.

Would this change anything different but some (milli-)seconds?

Offline

#6 2021-06-03 12:23:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,476

Re: [SOLVED] Completely confused by time/timezone settings

Sanity check: parallel windows installation?

You posted at actual 12:03 CEST

hwclock --show
2021-06-03 12:59:48.632567+02:00

what means the hardware clock was at 13:00 CEST which is 11:00 UTC

This sounds as if something™ syncs the HW clock to CET (12:00 CEST is 11:00 CET) and that gets interpreted as UTC what moves CEST to 13:00
If you do have a parallel windows installation, something™ was coded in Redmond, WA - you've to fix that.
Otherwise just set the HW clock back to UTC, sync the time from NTP w/ either netpd or timectl and have it set the HW clock as well.

Online

#7 2021-06-03 12:27:53

dakota
Member
Registered: 2016-05-20
Posts: 417

Re: [SOLVED] Completely confused by time/timezone settings

I'm not sure what the problem is.

1. Is the universal time that your system shows correct? Or does it need to be  set?
2. Your system shows that your local time is 2 hours ahead of universal time. Is this correct? Or is that where the problem lies?
3. Or is the problem that you expect your hwclock to read the same as universal time?

Cheers,


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#8 2021-06-03 12:57:09

funkaddict
Member
Registered: 2018-08-13
Posts: 117

Re: [SOLVED] Completely confused by time/timezone settings

seth wrote:

Sanity check: parallel windows installation?

You posted at actual 12:03 CEST

hwclock --show
2021-06-03 12:59:48.632567+02:00

what means the hardware clock was at 13:00 CEST which is 11:00 UTC

This sounds as if something™ syncs the HW clock to CET (12:00 CEST is 11:00 CET) and that gets interpreted as UTC what moves CEST to 13:00
If you do have a parallel windows installation, something™ was coded in Redmond, WA - you've to fix that.
Otherwise just set the HW clock back to UTC, sync the time from NTP w/ either netpd or timectl and have it set the HW clock as well.

I am sorry, I completely missed that one. You are right. I am running a dual boot. Sorry for the confusion. Thus, I expect the solution suggested in the WIKI, configuring Windows to use UTC, would solve the issue? I will try that right away.

Offline

#9 2021-06-03 13:20:59

funkaddict
Member
Registered: 2018-08-13
Posts: 117

Re: [SOLVED] Completely confused by time/timezone settings

Thank you. Altering the configs in the secondary OS helped. As per WIKI.

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

Offline

Board footer

Powered by FluxBB