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
However, I want it to just give the date as
01/01/2020 which doesn't include the rest of the digits.
formatDateTime(startOfMonth(addToTime(utcNow(), -1, 'Month')),'dd/MM/yyyy')and let me know if this works for you.