#### WeekdayName

##### WeekdayName(weekday, abbreviate, firstDayOfWeek)

WeekdayName returns a string indicating the name of the specified day of the week.

Overloads

- WeekdayName(weekday)
- WeekdayName(weekday, abbreviate)
- WeekdayName(weekday, abbreviate, firstDayOfWeek)

Parameters

- Weekday - The numeric designation for the day of the week.
- abbreviate - An optional Boolean value that indicates whether or not the weekday name is to be abbreviated.
- FirstDayOfWeek - An optional number indicating the first day of the week.

  Constant | Description
  --- | ---
  jrUseSystem | 0 (Use the current system date)
  jrSunday | 1
  jrMonday | 2
  jrTuesday | 3
  jrWednesday | 4
  jrThursday | 5
  jrFriday | 6
  jrSaturday | 7

Return value

String value.

Examples

- `WeekdayName (2)` - Returns String value Monday.
- `WeekdayName (1)` - Returns String value Sunday.
- `WeekdayName (4,true)` - Returns String value Wed.
- `WeekdayName (4, false)` - Returns String value Wednesday.
- `WeekdayName (3, true, "jrMonday")` - Returns Wed, since abbreviation is selected and the first day of the week is specified to be Monday.
- `WeekdayName (3, true, "jrUseSystem")` - If the current day is Friday, the function returns Sun, since the first day of week is specified to the current day, and the third day from Friday is Sunday.