Skip to content

AddMinutes

Shaun Lawrence edited this page Aug 13, 2020 · 2 revisions

Returns the supplied date/time with the specified number of minutes added.

AddMinutes(date, numberOfMinutes)

Parameters

date

The date/time that will have the numberOfMinutes added.

Type DateTime
Required Yes

numberOfMinutes

The number of minutes to add to the date.

Type Double
Required Yes

Examples

AddMinutes(#now#, 2)

Adds 2 minutes to the current date/time.

AddMinutes(#now#, -2)

Subtracts 2 minutes from the current date/time.

Clone this wiki locally