Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

ADD
Show:
© 2015 Microsoft