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

Date Constants

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

The following constants can be used anywhere in your code in place of the actual values:

Argument Values

The firstdayofweekargument has the following values:

ConstantValueDescription
vbUseSystem0Use NLS API setting.
vbSunday1Sunday (default)
vbMonday2Monday
vbTuesday3Tuesday
vbWednesday4Wednesday
vbThursday5Thursday
vbFriday6Friday
vbSaturday7Saturday

The firstdayofyear argument has the following values:

ConstantValueDescription
vbUseSystem0Use NLS API setting.
VbUseSystemDayOfWeek0Use the day of the week specified in your system settings for the first day of the week.
VbFirstJan11Start with week in which January 1 occurs (default).
vbFirstFourDays2Start with the first week that has at least four days in the new year.
vbFirstFullWeek3Start with the first full week of the year.

Return Values

ConstantValueDescription
vbSunday1Sunday
vbMonday2Monday
vbTuesday3Tuesday
vbWednesday4Wednesday
vbThursday5Thursday
vbFriday6Friday
vbSaturday7Saturday
© 2017 Microsoft