I have a flow variable to find the first day of the previous month which gives me the correct date (but it adds a time) I want to format the date to be mm-dd-yy
addtoTime(startOfMonth(addToTime(utcNow(),-1,'month')),0,'day')
value = 2020-01-01T00:00:00.0000000Z
When I add formatDateTime to the variable it gives me a wrong month
formatDateTime(addtoTime(startOfMonth(addToTime(utcNow(),-1,'month')),0,'day'),'mmmm-dd-yyyy')
Value = 00-01-2020
Any help would be appreciated