WeekdayName Function |
Syntax:
WeekdayName(NumZ{day}[, CondZ{abbrev}])
Group:
Description:
Returns the localized name of the weekday.
Parameters:
Parameter |
Description |
Return the localized name of this weekday. (1-7) |
|
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))
EndSub
See Also: