Dual-boot w/Windows - hardware clock set to?

I remember a few years ago, when dual booting Linux and Windows the recommendation was to set the motherboard clock to UTC, install Linux with local time zone, and do a registry hack in Windows to set something so it and Linux would both show the correct local time.

Is this still what should be done? I asked duck.ai and it said that since Win10, that hasn't been necessary, and to just set the motherboard, Linux and Windows to local time. It mentioned an occasional use-case to set motherboard to UTC if you constantly switch time zones (I guess like a business person travelling a lot).

So - what is correct nowadays?

Sorry, couldn't resist using Brave A.I. search via Mojeek search engine:

" The most reliable solution to prevent time conflicts in a Windows 11 and Linux dual-boot setup is to configure Linux to use local time instead of UTC, matching Windows' default behavior. This avoids the need to modify Windows registry settings, which can cause issues with automatic time synchronization and third-party applications.

To implement this, open a terminal in Linux and run the following command to set the Real Time Clock (RTC) to local time:

timedatectl set-local-rtc 1 --adjust-system-clock

Verify the change by running timedatectl ; if it displays RTC in local TZ: yes , the system is correctly configured. After this change, reboot into Windows and toggle the "Set time automatically" switch off and on again to ensure the clock syncs correctly.

Alternatively, you can force Windows to use UTC time by editing the registry, though this is less recommended due to potential compatibility issues with Windows' time-syncing services. To do this:

  1. Disable "Set time automatically" in Windows Settings.
  2. Open Command Prompt as Administrator and run:
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
  1. Reboot the system.

While both methods work, setting Linux to local time is generally preferred as it is simpler and avoids modifying the Windows registry.

AI-generated answer. Please verify critical facts."

What about the motherboard?

Because I had a Dual-Boot System a long Time by myself, I can tell You that setting up the Clock in Mainboard isn't neccessary.

When in Zorin type timedatectl set-local-rtc 1 --adjust-system-clock and when done start into Windows and go there to the Time Settings and click on the '''Synchronize Time'' Button and then the Time should be the same.

Hmmmm. It looks like the motherboard should be set to UTC and the registry hack applied to Windows. If i set the mobo to local time, Windows adds the +hours according to my timezone. I do not have location services on, so i guess it doesn't look it up online.

I just decided to do what i've done in the past. UTC mobo, registry hack in Windows, install Linux per usual. It worked that way, that's all i know.

Also, AI is very annoying. It will answer totally differently depending on how you ask the question. One answer says "just do local time dude, all good" another says "nah, you should do UTC and reg hax0rz because of all these reasons here..."

Thanks for your input all the same.