[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2146
  • Last Modified:

How to set custom Time Zone in Azure Website

My work has a website in Azure that hosts an in house built web site for administrative purposes. I can see from the logs that the Time Zone is 'America/Los_Angeles.' How can I change that?

I think the website service is also using the wrong date format. That does not go well with the php scripts. How can I change that?
0
itnifl
Asked:
itnifl
1 Solution
 
BlueComputeCommented:
The answer is that you really shouldn't. Time on Azure servers is UTC. You should probably use DateTimeOffset to get time in the format and timezone that you require. If you've got a specific example you're having problems fixing, post back here and we'll work through it.
There's some more discussion, with a couple of approaches for dealing with it, on StackOverflow.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now