Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Minute Function (VBScript)

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


                      Minute(
                      time
                      )
                    

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) 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.