Lucee Function Reference
Function MONTHASSTRING
Returns the string label for the given month
Example
monthasstring(number monthnumber,[string locale]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
monthnumber | number | Yes | a number between 1 and 12 |
locale | string | No | Locale to use instead of the locale of the page when processing the function |