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 / Change in date format ...
Power Automate
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.

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

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

    formatDateTime(<<date>>, 'dd/MM/yyyy')
  • Guicord101 Profile Picture
    151 on at

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

    Guicord101_0-1653493941566.png

     

     

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    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

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

    Guicord101_0-1653495092577.png

     

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    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.

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 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard