AiondaAionda

Formula reference · Dates and times

ADDMONTHS

Move a date by a number of calendar months.

English · 23 November 2026

Review edition — editorial review is not yet complete.

Back to the function catalog

What it does

Move a date by a number of calendar months.

Syntax

ADDMONTHS(date_or_datetime, months)

Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.

Arguments, in order

ArgumentMeaning
date_or_datetimeA typed date or date/time value.
monthsNumber of months to add; negative values move backwards. Fractional values are truncated.

Returns: Date.

Worked examples

Example 1

Formula

ADDMONTHS(DATE(2026, 1, 31), 1)

Result

"2026-02-28"

Example 2

Formula

ADDMONTHS(DATE(2026, 3, 31), -1)

Result

"2026-02-28"

Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.

Behaviour and limits

Clamps the day to the final day of the target month. It is not an addition of 30 days.

Use it with your fields

Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.