# dateaddmins

## dateaddmins(date, minutes)

Return a new date with the number of minutes added or subtracted.

## Arguments

Parameter | Data Type | Description
--- | --- | ---
date | date | Date to modify
minutes | integer | Number of minutes to add or subtract (can be negative)

##

## Returns

Ad new date with the number of minutes added or subtracted.

##

## Description

This function can be used to perform calculations of new dates and times.

NOTE: to enter a negative number of minutes, enter the expression "0 - minutes" (without the double quotes).

##

## Examples

Example | Description
--- | ---
dateaddmins(#MyField, 10) | Add 10 minutes to the date in MyField
dateaddmins(#MyField, 0-20) | Subtract 20 minutes from the date in MyField
dateaddmins(date(), 30) | Return the current date/time plus 30 minutes

## See Also

date(), dtos(), stod(), Date Formatting