Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure web app service time zone change issue

Tags:

We are using azure web app service for multi tenant application. But default time zone of app service is UTC taking i want to change that time zone for that region only.

I have tried WEB_TIMEZONE variable in app setting but not working.

like image 985
paresh Avatar asked Feb 13 '18 05:02

paresh


People also ask

Does Azure use UTC time?

Azure SQL Database does not support time zone settings; it always follows UTC.

How do I change Azure region of APP service?

You cannot change the location of an app service plan, regardless of subscription type. You simply need to create a new app service plan in the region you want, and then redeploy your code.

What time zone are Azure servers in?

By default, on Azure App Service, the time zone is always UTC, but you can change it.


1 Answers

You are setting wrong variable. You need to set WEBSITE_TIME_ZONE variable in Application settings. enter image description here To see supported timezone values see this

To verify that whether offset is updated or not navigate to Console and execute time command enter image description here

Reference: https://kvaes.wordpress.com/2017/01/24/changing-the-timezone-on-your-azure-webapp-app-service-function/

like image 140
Abdul Rauf Avatar answered Sep 28 '22 11:09

Abdul Rauf