Skip to main content

218 posts tagged with "Power Apps"

Microsoft Power Apps Canvas Apps, Power Fx Formulas, and Controls

View All Tags

How to Save a Date and Time to a SharePoint List with Patch in Power Apps

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

To save a date to SharePoint with Patch, pass a Date to a date-only column and a DateTime to a date-and-time column, as values, not text. SharePoint then shows exactly what the person chose, as long as the site's time zone is the one they work in. A night shift saved this way showed as 24/10/2026 22:00 to 25/10/2026 06:00.

How to Stop a Button Being Selected Twice While It Saves in Power Apps

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

Saving to SharePoint takes a moment, and a second tap on Save in that moment runs its formula again: two items instead of one. Make setting a context variable the first thing OnSelect does, keep the button disabled and showing Saving... while the variable is true, and set it back when the save finishes, whether it worked or not.

How to Calculate Hours Across a Daylight Saving Time Change in Power Apps

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

Twice a year, a night shift is not the length its clock times suggest. When UK clocks go back in October, 22:00 to 06:00 is nine real hours; when they go forward in March, it's seven. Build the start and finish as real moments with DateTime and count minutes with DateDiff, and Power Apps counts the real time on both nights.