Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Having trouble with DATE expressions

(0) ShareShare
ReportReport
Posted on by 144

Hello- Thanks in advance but I'm having troubles getting the date to format correct within an email. 

 

Here is my expression:

Shap1_0-1626294867473.png

formatDateTime('triggerOutputs()?['body/hc_startdate']''MM/dd/yyyy')

 
So the Start Date field is Dynamic but does not seem to want to work:
Shap1_1-1626294917454.png

 

 
This is what it looks like in the email before trying to convert it (I need it to display as Month/Day/Year):

Shap1_0-1626295020270.png

 



 

  • Shap1 Profile Picture
    144 on at
    Re: Having trouble with DATE expressions

    Thank you so much @Mira_Ghaly ! It worked!

  • Verified answer
    Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Having trouble with DATE expressions

    @Shap1 

    Just try removing the single quotes around triggeroutputs

    formatDateTime(triggerOutputs()?['body/hc_startdate']'MM/dd/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