Base solution for your next web application
Open Closed

Multiple Time Zone #4092


User avatar
0
pankajmathur created

Hi,

From where can I enable multiple time zone support. I don't see the same either on the Tenant Setting page or on the Host Setting Page. Also what should be the setting in the following case

  1. Server is on Azure and is hosted in US
  2. Tenant is in India
  3. Another Tenant is in Australia.

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pankajmathur,

    You need to set "Clock.Provider = ClockProviders.Utc" in the startup.cs of your web application. Then, timezone setting will appear on setting page both for host and tenants.

    Each tenant can set own timezone setting and it is not related to your server's timezone because all dates will be saved as UTC.