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