DIAdem Help

Method: Day for VBS

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

Method: Day for VBS

Specifies the day of the month.

vDay = Object.Day(Date)
ObjectVBS
Object with this method. You do not need to specify this object.
DateVariant
Specifies the date.
vDayVariant
Receives the day of the month.

The following example displays the current day of the month:

Dim Myvar
MyVar = Day(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