Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to handle UTC Time Settings on Azure with Azur SQL and Azure WebApp #9850


User avatar
0
olmy90 created

Hi,

I'm wondering how to handle UTC Time Settings on Azure with Azur SQL and Azure WebApp versus local time - we are in West Europe and didn't care to much about that topic - but in Azure SQL all DateTime values interpreted / stored in UTC and when I see the dateTime values in ASPZERO, there we are one hour behind.

If learned that in Azure SQL I can not change UTC time setting to local. It there a feature in ASPZERO where I can set the Timezone?

Prerequisites

  • 8.4
  • Angular
  • .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

2 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @olmy90

    If you set your clock provider to UTC, it stores the data in UTC.

    Clock.Provider = ClockProviders.Utc;
    
  • User Avatar
    0
    olmy90 created

    Thanks!