WeekdayName Function

Syntax:

WeekdayName(NumZ{day}[, CondZ{abbrev}])

Group: Time/Date

Description:
Return the localized name of the weekday.

Parameter Description

day Return the localized name of this weekday. (1-7)

abbrev If this conditional value is True then return the abbreviated form of the weekday name.

See Also: Weekday( ).

Example:

Sub Main
  Debug.Print WeekdayName(1) 'Sunday
  Debug.Print WeekdayName(Weekday(Now))
End
Sub