WeekdayName Function

Syntax

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

Group

Time/Date

Description

Return the localized name of the weekday.

Parameters

Parameters 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.

Example


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

See also

Weekday( )