Forum Discussion

Krishanu's avatar
Krishanu
Helper I
5 years ago
Solved

Datetimezone conversion behaves inconsistently

Hi, I have text column in this format  - 2021-07-20T19:01:10.8986983Z As you can see this is in UTC .  In Power BI desktop when I mark the datatype of this column as datetime, its converted into my...
  • GilbertQ's avatar
    GilbertQ
    5 years ago

    Hi Krishanu 

     

    If your data is stored as text it will not change and keep what the value is stored as.


    If you use datetime.localnow/datetimezone.localnow it will always use UTC because this is the time of all the Power BI Servers.