Hello,
https://make.powerautomate.com/galleries/public/templates/df5797658f954281b54bad8bf9cc8246/create-a-daily-summary-of-planner-tasks-by-bucket?fromflowportal=true
I am using the above linked flow but would like to be able to format the 'value Completed Date and Time' to a normal M/dd/yyyy h:mm tt format, but I cannot seem to figure it out.
Right now, it outputs as this format:
Any help would be appreciated!
Hi @Anonymous ,
Please try this:
When I use formatDateTime(items('Iterate_through_tasks')?['completedDateTime'],'M/dd/yyyy h:mm tt ') I receive this error:
I was able to find the solution, thanks to this post: https://powerusers.microsoft.com/t5/Building-Flows/How-do-I-format-the-date-in-the-standard-template-Create-a-daily/td-p/278359
if(empty(items('Iterate_through_tasks')?['completedDateTime']),'',formatdatetime(items('Iterate_through_tasks')?['completedDateTime'],'MM/dd/yyyy'))
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 788 Super User 2025 Season 2
Tomac 452 Moderator
developerAJ 302