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?
Solved! Go to Solution.
I Got it; The following works.
Thanks!
formatDateTime(item()?['ColumnName'], 'MM-dd-yyyy')
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.
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.
I Got it; The following works.
Thanks!
formatDateTime(item()?['ColumnName'], 'MM-dd-yyyy')
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
129 | |
50 | |
48 | |
35 | |
26 |