# 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/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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fn4DALJ5n6SkIrWWm0mxw%2Fimage.png?alt=media&#x26;token=697b5cf8-1942-4e19-a531-0b58ed53a34d" alt=""><figcaption></figcaption></figure>
