Forum Discussion
Planner Task Due Dates
I've been using planner for a few years at work amongst the team. We are each assigned to tasks with information and due dates. As of recently, if a task is due today (let's say September 18th), it will be in the "Past Due" bucket whereas it used to be in the "Today" bucket - this is when filtering by Due Date.
Any thoughts? Thanks!
4 Replies
- AmezingtechsataraIron Contributor
Kellijoyrivera nailed the cause - and the reason it behaves that way is worth spelling out, because it also decides how you fix the tasks that are already wrong.
Planner stores every due date as a full timestamp in UTC, even though the screen only ever shows you the date - that's how it's documented in the Planner task reference. So when your flow creates a task from the SharePoint row, whatever time rides along with that date is what gets stored. If it's midnight, or an early-morning time, the task is already past due the moment that time passes, even though the date on the card is still today. The dates are right; the hidden times aren't. That's why the Today bucket emptied out and Past Due filled up.
For the flow itself, Kellijoyrivera's fix is the one: set the due time explicitly when the task is created, late in the due day, and pass it in UTC so the conversion doesn't push it onto the previous day.
For the tasks that are already sitting in Past Due, you don't have to touch them one by one. The Planner connector has an Update a task action with a Due Date Time field, so a one-off flow can list the tasks in the plan and reset their due times to late in their due day in one pass. Try it on a small batch first to confirm the bucket behaviour, then run the rest.
- jwenzCHUBBCopper Contributor
Here's an image of this scenario for better context. With today being 09/21, the date should not be highlighted in red. This highlight equates to it being past due which is not correct.
- KellijoyriveraTin Contributor
How are these tasks being created? Are they being entered directly into Planner or created through Power Automate?
We've run into this exact issue with tasks created through Power Automate, and in our case, the culprit was time zones and the underlying due time.
Here's the frustrating part: Planner stores a date AND time for every task's due date, even when the interface only displays the date. So a task could show as "Due Today," but if the actual time attached to that date is 7:00 AM, Planner may mark it late at 8:00 AM, even though it's still the same day!
When creating tasks through Power Automate, we've had to explicitly set the due time (typically 11:59 PM) in our local time zone and then convert it to UTC before sending it to Planner. Otherwise, the time attached to the task can cause it to appear overdue much earlier than intended.
What makes this especially infuriating is that, depending on your version of Planner, you may not even be able to see that underlying time to figure out why the task is late.
I'd start by checking how the tasks were created and, if automation is involved, what date/time value is actually being passed to Planner. That hidden timestamp could very well be your problem!
- jwenzCHUBBCopper Contributor
Thank you! This is likely the culprit for sure. The tasks are created through Power Automate with the trigger being new row add in SharePoint. Will investigate.