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) 
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ