DIAdem Help

Method: Minute for VBS

  • Updated2024-09-12
  • 1 minute(s) read

Method: Minute for VBS

Specifies the minute in a time expression.

vMinute = Object.Minute(Time)
ObjectVBS
Object with this method. You do not need to specify this object.
TimeVariant
Specifies a time expression.
vMinuteVariant
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)

Related Topics

DateAdd | DateDiff | DatePart | DateSerial | DateValue | Date | Day | Hour | Minute | MonthName | Month | Now | Second | TimeSerial | TimeValue | Time | Timer | Weekday | WeekdayName | Year