add-minutes-to-dateTime

Adds the specified number of minutes to a given date and time.

Syntax

    add-minutes-to-dateTime(strDateTime1, minutes)

Parameters

strDateTime1 is a string that represents the date and time and is specified in the format yyyy-mm-ddThh:mm:ssZ. For more information about date and time parameters, see Date and time parameters.

minutes is a number that holds the number of minutes to add to the given date and time. A negative number for minutes subtracts minutes from the given date and time.

Returns

A string value in the format yyyy-mm-ddThh:mm:ssZ.

Example

The following expression returns a string value of 1999-11-28T11:22:00Z:

add-minutes-to-dateTime("1999-11-28T11:12:00Z",10)

// Ethnio survey code removed