Skip to main content

Build an Overtime Timesheet App in Power Apps — Part 6: Build the Log Overtime Screen

· 32 min read
Jagdish Kumawat
Founder @ Dewiride

This is the screen people use most: they log a shift of overtime. They choose the day it started, the start and finish times, the unpaid break, the department and a reason. The hours are worked out as they choose, correctly across midnight and the nights the clocks change, and Save stays disabled until the entry is complete and doesn't clash with one already logged.

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.