MonthAsString()
Returns the string label for the given month
MonthAsString( month=number, locale=locale );
Returns: String
Argument | Description |
---|---|
month
number,
required
|
a number between 1 and 12 Alias: monthNumber, number |
locale
locale,
optional
|
Locale to use instead of the locale of the page when processing the function |
Examples
dump(monthAsString(1)); // January
dump(monthAsString(12)); // December
See also
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)