Method: Minute for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: Minute for VBS
Method: Minute for VBS
Specifies the minute in a time expression.
vMinute = Object.Minute(Time)
| Object | VBS Object with this method. You do not need to specify this object. |
| Time | Variant Specifies a time expression. |
| vMinute | Variant Receives an integer number in the range between 0 and 59 that represents the minutes. |
The following example returns the current minute:
Dim Myvar MyVar = Minute(Now) Call MsgBox(MyVar)
See Also
Related Topics
DateAdd | DateDiff | DatePart | DateSerial | DateValue | Date | Day | Hour | Minute | MonthName | Month | Now | Second | TimeSerial | TimeValue | Time | Timer | Weekday | WeekdayName | Year