How to change time zone on my linix based app service

Zahid Makandar - TSS Consultancy 65 Reputation points


As mentioned in the title my linux app service runs on UTC time zone i want to change it to IST(Asia/kolkata). i tried adding a new application setting with name : TZ and value : Asia/kolkata.

when i do ssh and check the time on my machine it still does not show IST. can you please help me out to configure the change.

User's image

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

Accepted answer
  1. TP 78,976 Reputation points


    Please create WEBSITE_TIME_ZONE application setting with value of Asia/Kolkata as shown below. Please remove TZ setting to avoid confusion.

    azure app service set timezone linux

    After making the above changes, please verify time zone is correct using Web SSH (Development Tools -- SSH in portal) using date -R command, as shown below:

    azure app service timezone verify linux

    Please click Accept Answer and upvote if the above was useful.



    0 comments No comments

0 additional answers

Sort by: Most helpful