Description
WeekdayName returns a String indicating the name of the specified day of the week.
Overloads
WeekdayName (weekday, abbreviate)
WeekdayName (weekday, abbreviate, firstDayOfWeek)
Arguments
weekday is the numeric designation for the day of the week. Numeric value of each day depends on the value of the firstDayOfWeek argument. If firstDayOfWeek is not specified, crSunday is assumed.
abbreviate is an optional Boolean value that indicates if the weekday name is to be abbreviated. If omitted, the default is False.
firstDayOfWeek is an optional Number indicating the first day of the week. For more information, see
Day of Week constants.
Action
WeekdayName returns a String indicating the name of the specified day of the week.
Examples
WeekdayName (3)
Returns "Tuesday" since Sunday is assumed to be the first day of the week.
WeekdayName (3, True, crMonday)
Returns "Wed" since abbreviation is selected and the first day of the week is specified to be Monday.