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

Integer, in the range 1 (Sunday) - 7 (Saturday).

Alias: dayOfWeek

locale
locale, optional

Locale to use instead of the locale of the page when processing the function

Examples

writeOutput(dayOfWeekAsString(4));

See also