How to change the time zone from UTC to Arabian Standard Time in Azure virtual machine running the windows server?
I'm afraid that you would not be able to change the time Zone actually. Even if you changed it onece, the time zone would revert to UTC after restarting.
Also, changing the time zone for Azure IaaS VM is not recommended.
While it may be very tempting to change the server time on the Azure Virtual Machines using a startup task, it is not recommended, you should rather use methods like TimeZoneInfo.ConvertTimeFromUTCTime in your code.
You can also check this blog for more details about the TimeZone on Azure.
Hope this helps!
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