WeekdayName Function
Syntax
WeekdayName(NumZ{day}[, CondZ{abbrev}])
Group
Description
Returns the localized name of the weekday.
Parameters
| Parameters | Description |
|---|---|
| day | Returns the localized name of this weekday. (1-7) |
| abbrev | If this conditional value is True, it returns the abbreviated form of the weekday name. |
Example
Sub Main Debug.Print WeekdayName(1) 'Sunday Debug.Print WeekdayName(Weekday(Now)) End Sub
See also