Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Month Function

VBScript Month Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual