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 Automate
Answered

Date format issue

(0) ShareShare
ReportReport
Posted on by

Hello,

 

Im trying to get a date field in a email.

The looks like this: 

formatDateTime(triggerBody()?['Date'],'dd-mm-yyyy')
The result in the mail is: 31-00-2019.
I hope for this: 31-10-2019
Much better for us would be this: 31 octobre 2019
What do i wrong in this code?
THX for helping me.
Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @Anonymous 

     

    formatDateTime(triggerBody()?['Date'],'dd-MM-yyyy')

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please try to use this expression:

    formatDateTime(triggerBody()?['Date'],'dd MMMM yyyy')

    It will show as below:

    48.PNG

     

    Best Regards,

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    THX, works!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard