Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Change in date format in approvals

(0) ShareShare
ReportReport
Posted on by 151

Hi guys!
I have an automation that sends an approval request.
This approval uses in its text a date in a sharepoint list, however, in sharepoint the date is in the correct format but in the approval it is not.
Example:

On sharepoint:

Guicord101_0-1653491957038.png

 


On powerautomate:

Guicord101_1-1653491817757.png

 

I would like in powerautomate to be the same in sharepoint.

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    Re: Change in date format in approvals

    There are two possibilities.

    1) If you hover over the existing entry (or look in peek code on the context menu) you can see the JSON representation of the field.  That's what needs to be added at this point.  You can type it in the expressions tab manually.

    2) If you add a Compose action just before you do the approval and add the date to that, that Compose value will normally continue showing up in the dynamic content picker even if the date itself doesn't.

  • Guicord101 Profile Picture
    151 on at
    Re: Change in date format in approvals

    When trying to do this, I cannot find my sharepoint field.
    Is there another way to write?

    Guicord101_0-1653495092577.png

     

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    Re: Change in date format in approvals

    Instead of inserting the date field directly in the body use the expressions tab to add the formatDateTime() function around the date and insert that.

  • Guicord101 Profile Picture
    151 on at
    Re: Change in date format in approvals

    Hi! 
    My approval action looks like this, where can I use this "FormatDateTime" formula?

    Guicord101_0-1653493941566.png

     

     

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    Re: Change in date format in approvals

    You can use the formatDateTime() function in the flow to format the date to whatever output you want.

    formatDateTime(<<date>>, 'dd/MM/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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1