DayOfWeekAsString()
Determines the day of the week as a string from 1-7.
DayOfWeekAsString( day_of_week=number, locale=locale );
Returns: String
| Argument | Description |
|---|---|
|
day_of_week
number,
required
|
edit
Integer, in the range 1 (Sunday) - 7 (Saturday). Alias: dayOfWeek |
|
locale
locale,
optional
|
edit
Locale to use instead of the locale of the page when processing the function |
Examples
edit writeOutput(dayOfWeekAsString(4));
See also
- Date and time
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)