How can i change the time zone in webapp service for windows containers

Pragadeesh 6 Reputation points
2020-11-04T12:03:02.667+00:00

Hello,

I wanted to change the timezone of web app service. I tried using WEBSITE_TIME_ZONE, but this app setting only worked for webapp as a code but not for windows container webapp.

Is there any possible solution for changing timezone in windows container webapp?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,628 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,886 Reputation points
    2020-11-05T22:27:31.073+00:00

    Hi @Pragadeesh ,

    By default, the time zone is always UTC, but you can change it. You should be able to change the time zine using the configurations blade in the Azure portal. What value are you using to set the time zone?

    You can also try using kudu. You can find a list of supported time zone here or here. You can also find the list in your registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. If the string is not recognized, it falls back to UTC. The best way to test that it works is to type time from Kudu console.

    You can also see this relate Stack Overflow question.

    Hope that helps. Let us know if you have further questions

    -Grace


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.