MONTHNAME                                                        Function

MONTHNAME(month[, abbreviate])

Description

MONTHNAME returns the string name of the given month. The required parameter, month, is a numeric expression ranging from 1 to 12. The optional parameter, abbreviate, is a boolean variable that specifies whether MONTHNAME returns the complete month name or its three-letter abbreviation.

Example

REM MONTHNAME Example

PRINT MONTHNAME(MONTH(NOW))

PRINT MONTHNAME(12, TRUE)

Output

August

Dec

Related Items

WEEKDAYNAME