Partager via


Minute Function (VBScript)

 

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

Syntax

Minute(time)

Remarks

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

The following example uses the Minute function to return the minute of the hour:

Dim MyVar
MyVar = Minute(Now) 

Requirements

Version 1

See Also

Day Function
Hour Function
Now Function
Second Function
Time Function