Forum Discussion
gabibalaban
5 years agoNew Member
DateTimeZone issue
Hi, I'm importing data from a sharepoint list and one of my columns keeps datetime in UTC (although the site is set to local time). I noticed that during import the column auto-convert to UTC (again...
- 5 years ago
Check if this functions helps:
https://docs.microsoft.com/en-us/powerquery-m/datetimezone-switchzone
camargos88
5 years agoCommunity Champion
Check if this functions helps:
https://docs.microsoft.com/en-us/powerquery-m/datetimezone-switchzone
gabibalaban
5 years agoNew Member
Hi camargos88 ,
Thanks a lot ... You guided me to right direction to right family functions - DateTimeZone.
I used a combination of:
DateTimeZone.RemoveZone(DateTimeZone.ToLocal(DateTime.AddZone([Created],0)))