Please be informed that the Casablanca time zone has the DST changes 4 times a year, ensure this is automated from your end. What I have tried: Windows 10 or Windows 8.1, right-click or tap-and-hold the Start button and then choose Run. Prior to Windows 8.1, Run is most easily available from the Apps screen. In Windows 7 or Windows Vista, click on Start. In Windows XP, click on the Start button and then click Run.... Tip: See What Version of Windows Do I Have? if you're not sure. In the search box or Run window, type the following: regedit and then press Enter. Note: Depending on your version of Windows, and how it's configured, you may see a User Account Control dialog box where you'll need to confirm that you want to open Registry Editor. Registry Editor will open. If you've used Registry Editor before, it'll open up to the same location you were working in last time. If that happens, and you don't want to work with the keys or values at that location, just continue to minimize the registry keys until you've reached the top level, listing the various registry hives. Tip: You can minimize or expand registry keys by clicking or tapping the small > icon next to the key. In Windows XP, the + icon is used instead. You can now make whatever changes you need to make to the registry. See How to Add, Change, & Delete Registry Keys & Values for instructions and other tips to help you safely edit the registry. Important: Considering the impact that the registry has on your Windows-based computer, I highly recommend that you back up the registry, either the whole thing or even just the areas you're working in, before you do anything. See How to Back up the Windows Registry for help
Default Time Zones | Microsoft Docs[^]:Important Windows updates the time zones in the registry when time zones are available and updates are downloaded. Because time zones can change, use the tzutil command-line tool in Windows to verify the time zone.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Morocco Standard Time
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)