Easy Tutorial
❮ Home Func Strreverse ❯

VBScript MonthName Function


The MonthName function returns the name of a specified month.

Syntax

Parameter Description
month Required. Specifies the month as a number. (For example, January is 1, February is 2, and so on.)
abbreviate Optional. A Boolean value indicating whether to abbreviate the month name. The default is False.

Example

Example 1

Get the name of the 8th month:

Output of the above example:

Example 2

Get the abbreviated name of the 8th month:

Output of the above example:


❮ Home Func Strreverse ❯