Forum Discussion
Anonymous
7 years agoNot applicable
Date and Time stamp from Sharepoint loading to wrong UTC
Hey all, First time posting, I have loaded a Sharepoint list into Power Query to find total working hours. In Sharepoint, a column for a specific ID's request date is: 7/30/2019 1:52 PM ...
Anonymous
7 years agoNot applicable
So, our Sharepoint server I just found out is stored at 00 UTC. So whilte your solution isn't wrong, it just does not work for my needs.
Do you have a recommendation of a power query to offset time by a specific UTC that also takes daylight savings into account?
Kjtakke
7 years agoNew Member
You have two options.
1. Use the DateTime.AddZone() function which adjusts for daylight savings
https://community.powerbi.com/t5/Service/Daylight-Saving-Time-with-weird-behavior/td-p/280413
Or
2. Create a custom column that takes the value of your date column and offsets it based on the month. This is not an elegant solution and is limited if you use multiple time zones.
Let me know if you need assistance with the second option; however, I strongly suggest using the first option.
1. Use the DateTime.AddZone() function which adjusts for daylight savings
https://community.powerbi.com/t5/Service/Daylight-Saving-Time-with-weird-behavior/td-p/280413
Or
2. Create a custom column that takes the value of your date column and offsets it based on the month. This is not an elegant solution and is limited if you use multiple time zones.
Let me know if you need assistance with the second option; however, I strongly suggest using the first option.