Hello!
I've been working on a project for my team regarding capacity planning. For this project I'm currently using a SharePoint calendar app and PowerApps. In the PowerApp, I have the SP calendar connected (data connector) through a form so that users can input the information and PowerApps submits it to the calendar on SharePoint. The "Date Time Zone" in the Date Value is set to local, however after doing some reading I understand that PowerApps can't actually pick up the user's local time zone. So all of the dates and times are being sent to SharePoint as UTC and setting dates and times approximately 5 (EST) to 8 hours (PST) earlier than they should be.
For the past two days, I've been trying to figure out how to convert the time to user's local time and came across this article by Microsoft: "DateAdd, DateDiff, and TimeZoneOffset functions in Powerapps". However, 1) I don't know if this would address and fix the issue I'm experiencing and 2) I cannot figure out how to create the referenced "StartTime" variable or where to add the code it mentions under "Converting From UTC" (DateAdd( StartTime, −TimeZoneOffset( StartTime ), Minutes )). Any help is greatly appreciated.
Solved! Go to Solution.
Hi @amandahommel ,
I have made a test on my side, there is no difference between the date time submitted in PowerApps and the data time shown in SP calendar.
Your issue is probably caused by the difference of time zone setting between SharePoint and PowerApps.
In default, the Time Zone of PowerApps is based on your local time zone. So please check the Time Zone of SharePoint site.
Go to Site Setting - Regional Setting - Time Zone
If this doesn't make sense, please let me know.
Best regards,
Sik
Hi @amandahommel ,
I have made a test on my side, there is no difference between the date time submitted in PowerApps and the data time shown in SP calendar.
Your issue is probably caused by the difference of time zone setting between SharePoint and PowerApps.
In default, the Time Zone of PowerApps is based on your local time zone. So please check the Time Zone of SharePoint site.
Go to Site Setting - Regional Setting - Time Zone
If this doesn't make sense, please let me know.
Best regards,
Sik
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
212 | |
205 | |
86 | |
58 | |
38 |
User | Count |
---|---|
322 | |
259 | |
130 | |
86 | |
55 |