Forum Discussion
Power Query in Excel - Get Data - changes Time by 4 hrs.
IndyGal7 Out of the Box SharePoint lists display all times in the UTC time zone. To change that, for each site:
- Click on the Settings Cog/icon in the top right corner.
- Select Site Information
- Select View Site Settings
- In the Site Administration area select Regional Settings
- Change the Time zone.
I hope this helps!
Belinda
Thanks for your response. We have confirmed all our time zones are correct. Something happens when we use Power Query to "Get Data", in the process the time zone changes with a 4 hr. difference. Whereas, when we export data from the SharePoint list, the time does NOT change.
Is it possible that Power Query filters it through a different server (GMT time)??
Appreciate help. Ms_BelindaAllen
- Sep 17, 2020
IndyGal7 I'm not sure about about filtering through a different server, and it likely is something in the "get data" story.
If you can identify that the time zone being displayed is GMT or UTC, you can create a step to covert the time zone. If your field is Date and Time, as a single field. You Custom Column M function would be:
=DateTimeZone.ToLocal([dateTimeColumnName])
This would be the most efficient due to Daylight Savings time changes. Even if it means means making the time field a Date/Time, which would add today's date to the time, then using the field. Then you can reset the type back to time.
- IndyGal7Sep 21, 2020Copper Contributor
Thanks for your replay. I have 3 date time columns already so a work-around is not ideal, besides, i'd like to prevent other instances of this. Ms_BelindaAllen
- Sep 21, 2020
IndyGal7 Sorry I couldn't help more. Perhaps an Excel person will chime in. Time zones can be very frustrating!