App service time zone does not change it.

Clark 1 Reputation point
2020-12-17T08:34:56.9+00:00

Hi.

I have some problems about setting timezone.

My app service is running on Linux service plan. I have tired many ways to change timezone.

I got some information from community.

and I tried those things.

app setting

WEBSITE_TIME_ZONE = Korea Standard Time -> does not work, I guess it is for Windows app service plan.

TZ = Asia/Seoul -> does not work, I guess it is for Linux but...

Does anyone fix timezone issue?

Thank you for answering!

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

1 answer

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,466 Reputation points
    2020-12-17T09:32:47.077+00:00

    @Clark Yes, it is true that Timezone for Linux Apps is managed via the TZ application setting. Here is a detailed blog post for your reference.

    Here is the setting on my App Service that works well:

    49103-image.png

    Once I saved the setting, my application restarted. Opening an SSH session, I could verify that the Timezone changes did reflect indeed:

    49102-image.png

    You can verify the same by executing the date command in your app's SSH console.

    1 person found this answer helpful.
    0 comments No comments