How to set custom Time Zone in Azure Website

Posted on 2014-09-01
Last Modified: 2014-11-12
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?
Question by:itnifl
    1 Comment
    LVL 14

    Accepted Solution

    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.

    Featured Post

    How does your email signature look on mobiles?

    Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

    Join & Write a Comment

    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
    Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now