VBScript Month Function
--
VBScript Tutorial VB Tutorial VB Usage VB Variables VB Procedures VB Conditionals VB Looping VB Summary VB Examples VB Functions VB Keywords Deep Dive script Scripting Language Computer Hardware Programming Languages Development Tools Software Web Services Computer Science Web Design and Development Computer The Month function returns a number representing the month of the year, between 1 and 12.
VBScript Month Function
Complete VBScript Reference Manual
Syntax
Month(date)
| Parameter | Description |
|---|---|
| date | Required. Any expression that represents a date. |
Example
Example
document.write(Month("2010-02-16"))The above example outputs:
2
YouTip