Table of contents
TOC
Collapse the table of content
Expand the table of content

WeekdayName Function

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Description Returns a string indicating the specified day of the week. SyntaxWeekdayName(weekday,abbreviate,firstdayofweek) The WeekdayName function syntax has these parts:

PartDescription
weekdayRequired. The numeric designation for the day of the week. Numeric value of each day depends on setting of the firstdayofweek setting.
abbreviateOptional. Boolean value that indicates if the weekday name is to be abbreviated. If omitted, the default is False, which means that the weekday name is not abbreviated.
firstdayofweekOptional. Numeric value indicating the first day of the week. See Settings section for values.

Settings The firstdayofweek argument can have the following values:

ConstantValueDescription
vbUseSystem0Use National Language Support (NLS) API setting.
vbSunday1Sunday (default)
vbMonday2Monday
vbTuesday3Tuesday
vbWednesday4Wednesday
vbThursday5Thursday
vbFriday6Friday
vbSaturday7Saturday
© 2017 Microsoft