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

Community site session details

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

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

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at
    Re: Formatting value Completed Date Time in daily summary of Planner Tasks by Bucket

    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
    on at
    Re: Formatting value Completed Date Time in daily summary of Planner Tasks by Bucket

    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
    on at
    Re: Formatting value Completed Date Time in daily summary of Planner Tasks by Bucket

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard