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

Notifications

Announcements

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:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 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
    68,707 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
    68,707 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

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard