Minute Procedure

Returns the minute component of a time.

Overload #1: Minute(dateTime)

Declaration
function Minute(dateTime as DateTime) as Number

Parameters

Return value

Number — The minute component of the time.

Example

Code
dim x = DateTimeFromParts(2021, 3, 12, 14, 30, 59, 488)
print Minute(x)
Output
30

Overload #2: Minute(dateTimeOffset)

Declaration
function Minute(dateTimeOffset as DateTimeOffset) as Number

Parameters

Return value

Number — The minute component of the time.

Example

Code
dim x = DateTimeOffsetFromParts(2021, 3, 12, 4, 30, 59, 488, Hours(-4))
print Minute(x)
Output
30