DIAdem Help

Method: Now for VBS

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

Method: Now for VBS

Specifies the current date and the current time.

vNow = Object.Now
ObjectVBS
Object with this method. You do not need to specify this object.
vNowVariant
Receives the current date and the current time.

The following example displays the current date and the current time:

Dim MyVar
MyVar = Now
Call MsgBox(MyVar) ' Returns current date and time

Related Topics

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