Cheat Sheets/Power Automate/addDays
Power Automate (WDL) function

addDaysPower Automate (WDL) function reference

Add days.

Syntax

wdl
addDays(timestamp, days, ['format'])

Examples

wdl
addDays(utcNow(), 7)
One week out
wdl
addDays(triggerBody()?['StartDate'], -1)
The day before the start date
wdl
formatDateTime(addDays(utcNow(), 30), 'yyyy-MM-dd')
A clean 30-day-out expiry date string

Common mistakes & gotchas

Related Workflow Definition Language functions

From Date & time

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet