Lucee Function Reference
dayofweekasstring()
Determines the day of the week as a string from 1-7
Example
dayofweekasstring(number day_of_week,[locale locale]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| day_of_week | number | Yes | Integer, in the range 1 (Sunday) - 7 (Saturday). |
| locale | locale | No | Locale to use instead of the locale of the page when processing the function |