Hi
i have created a flow using power automate (with the assistance of eric-cheng), that will send an email to a user 30 days prior to a due date. The emails are working fine; subject line and content in body is good, however the date in the body is in the wrong format.
- Currently the format is MM-dd-yyyy and i would like to change it to dd-MM-yyy. Following is what i tried
- I changed the format at the 'Initalize variable' stage
from: addDays(utcNow(), variables('varNumDays'), 'MM-dd-yyyy')
To: addDays(utcNow(), variables('varNumDays'), 'dd-MM-yyyy'). when i did this the emails did not send.
- I then added a Compose to the the 'Apply to each'. Email worked but date in wrong format
Any help will be greatly appreciate
Thank you
[1]: /answers/storage/attachments/129980-screen-1.png
[2]: /answers/storage/attachments/130101-screen-2.jpg
[3]: /answers/storage/attachments/130039-screen-3.jpg