web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Formatting value Compl...
Power Automate
Answered

Formatting value Completed Date Time in daily summary of Planner Tasks by Bucket

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:

CF111_0-1677706932655.png

 

Any help would be appreciated!

 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Please try this:

    vxiaochenmsft_0-1677725269515.png

    formatDateTime(items('Iterate_through_tasks')?['completedDateTime'],'M/dd/yyyy h:mm tt ')
     
    Best Regards,
    Wearsky
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    When I use formatDateTime(items('Iterate_through_tasks')?['completedDateTime'],'M/dd/yyyy h:mm tt ') I receive this error:

    CF111_0-1677771887167.png

     

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard