portableSql

AddMinutesToDateTime Portable SQL Function

Syntax

AddMinutesToDateTime as T (DateTime as T, NrOfMinutes as N)

Arguments

DateTimeTime

A field or value.

NrOfMinutesNumeric

The number of minutes to add.

Returns

resultTime

Returns the date and time value NrOfMinutes minutes ahead of DateTime.

Description

Get the date and time value NrOfMinutes minutes ahead of DateTime.

Discussion

The AddMinutesToDateTime function computes the date and time value NrOfMinutes minutes ahead of DateTime.

AddMinutesToDateTime() function executed on the Northwind Access database
SELECT FIRST 1 Now() AS Now, AddMinutesToDateTime(Now(), 90) AS Later FROM Orders
=10/10/2019 12:45:57 00 pm|10/10/2019 02:15:57 00 pm