I recently had a program fail in a production server because the server was missing a time zone, so the following line threw an exception:
TimeZoneInfo.ConvertTime(date, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById("Argentina Standard Time"))
I fixed it exporting the time zone registry branch from a test server, importing it to the production server.
My question is, is it possible to install time zones selectively? How is it possible that one was missing?
Under General Settings, click on System Time. Change the desired timezone from the drop-down menu. Then click OK. Reboot your server.
Changing Date, Time, and Time Zone in Server 2016Step 1: Click on the time (as shown in figure) located in bottom right corner of task bar. Step 2: Click on Date and time settings. Step 3: Click on Change to change date and time. Step 4: Adjust the time and click Change.
The timezones and cultures that Microsoft installs in the registry are updated by standard patches. So depending on the version of windows (including patch levels) Some newer cultures and time zones may not be present...or if they are present they may have outdated definitions. These thing...particularly Time Zones....have a tendency to update fairly regularly.
I have a lot of pent up anger about the fact that they are stored in the registry and can only be added to with a admin account...but that is for another forum.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With