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 Apps / Formatting Date Displa...
Power Apps
Unanswered

Formatting Date Display in Dynamic Content/Send an Email

(0) ShareShare
ReportReport
Posted on by 37

Hi All - I am working on a customized notification email from a SP List that includes date fields that I'm picking from dynamic content. In the final email it is formatting the dates as yyyy-mm-dd it might seem minor, but this is confusing for my contacts as they are used to mm-dd-yyyy format. Any help is greatly appreciated. Have a good evening!

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Crys686 ,

     

    You can use expression to modify the default format of date.

    Please try this:

    formatDateTime(DynamicContent,'MM-dd-yyyy')

    vmengmlimsft_0-1706578687076.png

     

    Best regards,

    Rimmon

  • Crys686 Profile Picture
    37 on at

    Hi there - thanks so much for the reply - I was able to get it to work with this:

    formatDateTime(parseDateTime(items
    ('Apply_to_each')?
    ['Internal_x0020_Due_x0020_Date']),
    'MM-dd-yy', 'en-US')
     
    I'm trying to do the same thing with a field "Due Date"
    formatDateTime(parseDateTime(items
    ('Apply_to_each')?
    ['Due_x0020_Date']),
    'MM-dd-yy', 'en-US')
    It will add the function to the body of the email but as soon as I hit save it disappears, but it doesn't do that with the Internal Due Date - do you know why it's doing that? 
    Thanks again for your help!

     

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Crys686 ,

     

    Do you mean it disappears when you save the flow?

    Please check if you clicked OK after you entered expression.

    vmengmlimsft_0-1706682926199.png

    Or try to put the expression in a Compose and insert the outputs of Compose in email body.

     

    If my previous answer helps you solve the problem, please accept it as a solution.

     

    Best regards,

    Rimmon

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard