Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function DAYOFWEEKASSTRING

Determines the day of the week as a string from 1-7

Example

dayofweekasstring(number day_of_week,[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
day_of_week number  Yes Integer, in the range 1 (Sunday) - 7 (Saturday).  
locale string  No Locale to use instead of the locale of the page when processing the function