Minute()

Syntax

Minute(SerialNumber)

Remarks

Returns an integer between 0 (zero) and 59, inclusive, corresponding to the minutes component of SerialNumber, a decimal representation of the date, time, or both. For information about serial numbers, see DateSerial().

Example

This example displays the minutes component of the current time:


mins = Minute(Now())
MsgBox "It is" + Str$(mins) + " minute(s) after the hour."

See Also

DateSerial(), Day(), Hour(), Month(), Now(), Second(), Today(), Weekday(), Year()