cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Phineas
Post Prodigy
Post Prodigy

Change Default Date Format is Send Email Action

I've created a 'Send Email' flow. The email includes two dates from the SP List data source.

I'd like the dates to show as 'MM-dd-yyyy' rather than the default output (see below).

How is this task best achieved?

 

Phineas_1-1669997433303.png

 

Phineas_0-1669997396283.png

Phineas_3-1669997794095.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

I Got it; The following works.

Thanks!

formatDateTime(item()?['ColumnName'], 'MM-dd-yyyy')

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User
Dual Super User

Just use the FormatDateTime() function around each of the dynamic content dates in the email body and supply the 'MM-dd-yyyy' format in the functions.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Can you clarify how I should write this language?

When I use 'Expression' the two date columns DO NOT appear, and when I try to manually enter the formatDatetime('DateIssued') I get an error saying the format doesn't match ISO standards.

Phineas_1-1669998729937.png

 

I Got it; The following works.

Thanks!

formatDateTime(item()?['ColumnName'], 'MM-dd-yyyy')

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,345)