It’s possible that you need your application to handle the datetime values being sent to your app service. One reason for this is that date and time values being passed in may not include the proper time zone designation. By default, Azure Web Apps use UTC settings. To change this value, visit your Azure App Service. In the App Service menu, scroll to Application settings. Add 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\. As an example, I live in the state of Pennsylvania in the United States. Since the US has slightly modified time zone rules, I would tend to use the value “US Eastern Standard Time” for (UTC –05:00) Indiana (East).
You can check the “local” time of your app service by navigating to the Console option in the App Service menu. After the console loads, you can check the time like so:
If you want to view or submit comments you must accept the cookie consent.