---
title: "date_add function in Strata | Oplema"
description: "Move a date or timestamp forward or backward by an interval. Write it as date_add(date, interval) in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/date-add"
updated: "2026-11-04"
---

# date\_add

Move a date or timestamp forward or backward by an interval.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **TIMESTAMP**.

### Expression

```
date_add(DATE '1992-09-15', INTERVAL 2 MONTH)
```

### Result

```
1992-11-15 00:00:00
```

To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | 1992-11-15 00:00:00 |

## Arguments and types

```
date_add(date, interval)
```

**date**

Any value

**interval**

Any value

Supported signatures (1)

```
date_add(date: ANY, interval: ANY)
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

If the first argument is missing, the result is NULL.

## Related functions

[century

Get the century from a date or timestamp, such as 20 for 1992.

](https://oplema.com/docs/strata/functions/century)[day

Get the day of the month, from 1 to 31, from a date or timestamp.

](https://oplema.com/docs/strata/functions/day)[dayofmonth

Get the day of the month, from 1 to 31, from a date or timestamp.

](https://oplema.com/docs/strata/functions/dayofmonth)[dayofweek

Get the day of the week as a number, where Sunday is 0 and Saturday is 6.

](https://oplema.com/docs/strata/functions/dayofweek)

[Browse dates & times](https://oplema.com/docs/strata/functions#dates-&-times) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/date.html#date_adddate-interval)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
