YouTip LogoYouTip

Func Monthname

# VBScript MonthName Function * * Complete VBScript Reference Manual](#) * * * The MonthName function returns the name of a specified month. ### Syntax MonthName(month[,abbreviate]) | Parameter | Description | | :--- | :--- | | month | Required. Specifies the number of the month. (For example, January is 1, February is 2, and so on.) | | abbreviate | Optional. A Boolean value that indicates whether to abbreviate the month name. The default is False. | ## Examples ## Example 1 Get the name of the 8th month: document.write(MonthName(8)) The output of the above example: August [Try it Β»](#) ## Example 2 Get the abbreviation of the 8th month: document.write(MonthName(8,True)) The output of the above example: Aug [Try it Β»](#) * * Complete VBScript Reference Manual](#)
← Vb Func NowFunc Month β†’