# DATEADD

The DATEADD function adds a specified number of days to the input date. The input date should be in MM/DD/YYYY format. Node references are also accepted as arguments. Use [DATE.SET()](https://docs.inforiver.com/premium-table/formula-syntax/date-functions/date.set) to set the format of the output date.

## Syntax

```javascript
dateadd(date, value)
```

## Arguments

date – The date which is passed as input to the function.

value – The number of days to be added to the input date. Can be positive or negative.

## Return value

Date

## Example

```javascript
DATEADD('8/2/2023',5)
```

Returns 7/8/2023.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/45EoZ2scVhofSUhv73Hb/image.png" alt=""><figcaption></figcaption></figure>
