AddMinutes
Adds a specified number of minutes to a point in time.
Syntax
-
AddMinutes(t, n)
-
t
is a datetime structure or a timestamp -
n
is an integer
-
Description
AddMinutes(t, n)
returns the point in time obtained by adding n
whole minutes to t
. If t
is a DateTime
structure or a timestamp, so is the result.
Examples
AddMinutes(date(2020, 05, 20), 5)
date.year: 2020 date.month: May date.day: 20 time.hour: 0 time.minute: 5 time.second: 0 time.millisecond: 0