re: DateTime.Now: No, no... VIEW POST


We can change default timezone in App Service by adding a new setting under Application Settings called WEBSITE_TIME_ZONE.
Acceptable values for this setting can be any of the acceptable values defined in the Windows Registry under the key HKLM\Software\Microsoft\Windows Nt\CurrentVersion\Time Zones.


That's correct. Like I mentioned in another comment thread, I was merely using App Service as an example to illustrate that the server is running on UTC, but your comment is very correct and appreciated.


Thank you for this interesting thing. But I think it could be a workaround, but not as right "pattern".


I am not quite sure what you think is a workaround. The mere fact I want people to be aware of is that Azure servers run in UTC 😊

code of conduct - report abuse