← All nodes
Date

Date Math

Adds or subtracts days, weeks, months, years or smaller units to a date — a fixed amount or a number from another column — and can round the result down to the start of a period.

When to use it

Use it for due dates (order date + 30 days), renewal dates (start + 12 months), or to snap dates to the start of their month or week for reporting.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ColumnselectYesSelect column…
Operationselect—add
Amountnumber—0
Amount from column (per row)select—None: use the Amount above
Unitselect—days
Then round down toselect—none
From Formatselect—AUTO
To Formatselect—YYYY-MM-DD
Generate New Columncheckbox—true
New Column Nametext—Default: <column> Result
Insert Afterselect—After the date column

Example

Due 30 days after ordering

  • Column=OrderDate
  • Operation=Add
  • Amount=30
  • Unit=Days
  • New Column Name=Due
Orders
OrderOrderDate
A-12026-10-15
A-22026-01-31
With a due date
OrderOrderDateDue
A-12026-10-152026-11-14
A-22026-01-312026-03-02

Worth knowing

  • Adding months keeps the day where it can and otherwise uses the month's last day: 31 January + 1 month is 28 February, as Excel's EDATE does.
  • Pick Amount from column to use a different number on each row; rows with no number there get a blank result.
  • Round down without moving the date by leaving Amount at 0 and choosing Start of month (or week, quarter, year).
  • Set To Format to a date-and-time format when the time of day matters.

Others in Date