DayOfWeekShortAsString()
Returns the string representation of the given day index in short form.
DayOfWeekShortAsString( day_of_week=number, locale=locale );
Returns: String
Argument | Description |
---|---|
day_of_week
number,
required
|
Integer, in the range 1 (Sunday) - 7 (Saturday). |
locale
locale,
optional
|
Locale to use instead of the locale of the page when processing the function |
Examples
writeOutput(dayofWeekShortAsString(4));
See also
- Date and time
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)