MonthName

From NSB App Studio
Revision as of 18:08, 8 July 2012 by Brendon (talk | contribs) (Created page with "MONTHNAME(''month''[, ''abbreviate'']) '''Description''' MONTHNAME returns the string name of the given month. The required parameter, ''month'', is a numeric expression ran...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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