In Microsoft Power Automate, using the expression utcNow()
you can get the current date (and time). I am trying to get yesterday's date. I tried dateadd(utcNow(), -1)
and similar code, but nothing works. Anyone know how to work with dates in Microsoft Power Automate?
addDays is the function you're looking for:
//Yesterday
addDays(utcnow(),-1)
//Next Week
addDays(utcnow(),7)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With