I have a value startOfMonth(addToTime(utcNow(), -1, 'Month'))
in Create File action in Microsoft flow. It gets the first date of the month and names the file as 2020-01-01T00_00_00.0000000Z.html
.
However, I want it to just give the date as 01/01/2020
which doesn't include the rest of the digits.
Thank you.
formatDateTime(startOfMonth(addToTime(utcNow(), -1, 'Month')),'dd/MM/yyyy')
and let me know if this works for you.