n8n LabIntermediate
Add Days to a Date with Luxon plus() in n8n
Send a follow-up reminder 7 days after a lead comes in.
Live Execution Simulator
Idle
π₯
Incoming Data
βοΈ
n8n Node
π―
Next Step
> Ready. Type your expression below and click "Check Answer" to run the node.
Incoming Payload / Data:
// Built-in n8n variable: $now // current DateTime (Luxon)
$now.
Press Enter or click Check Answer. +20 XP
β Solution & explanation
$now.plus({ days: 7 })
Output: DateTime 7 days from now
plus() returns a new DateTime shifted by the given duration β { days: 7 }, { hours: 2 }, { weeks: 1 }. n8n also accepts the short form plus(7, 'days').π‘ Pro tip: Go back in time with minus(), and chain formatting: $now.plus({ days: 7 }).toFormat('yyyy-MM-dd').
Also accepted: plus(7, 'days')