WeekdayName
Return the named day of the week.
Syntax
WeekdayName(DayNum[,Abbreviate [,FirstDayofWeek]])
Key
DayNum A date expression
Abbreviate Abbreviate the day: Monday>Mon... (TRUE/FALSE)
FirstDayofWeek An integer for the first day of the week
DayNum is one of the following constant values:
vbSunday 1
vbMonday 2
vbTuesday 3
vbWednesday 4
vbThursday 5
vbFriday 6
vbSaturday 7
Example
result = WeekdayName(6)
WScript.Echo result
> Friday