VBScript Month Function
Complete VBScript Reference Manual
The Month function returns a number representing the month of the year, between 1 and 12.
Syntax
Month(date)
| Parameters | Description |
|---|---|
| date | Required. Any expression representing a date. |
Example
Example
The example above produces the following output:
2
Try it »
Complete VBScript Reference Manual