Forum Discussion

CourtneyLeah's avatar
CourtneyLeah
Frequent Visitor
9 years ago
Solved

Dates reverting to UTC when published to web from desktop

Hi,   Yesterday I published a report from desktop to web. When the data refreshed last night all of the dates reverted from local time to UTC. The dates in the date slicer also changed to the Ameri...
  • GilbertQ's avatar
    GilbertQ
    9 years ago

    Hi CourtneyLeah,

     

    I also tried that and what I think it does in the Power BI Service, is that all the servers are set to UTC.

     

    So because the server time where the files are hosted is set to UTC it then uses the DateTimeZone.ToLocal which is indeed is UTC.

     

    I would rather suggest using the syntax I provided earlier, as I have tested this and once I have uploaded it to the Power BI Service, it does display the correct time.