Minute Function

From Visual Basic Scripting

Microsoft® Visual Basic® Scripting Edition Minute Function  Language Reference 
Version 1 


Description

Returns a whole number between 0 and 59, inclusive, representing the minute of the hour.

Syntax

Minute(time)

The time argument is any expression that can represent a time. If time contains Null, Null is returned.

Remarks

The following example uses the Minute function to return the minute of the hour:
Dim MyVar
MyVar = Minute(Now)