Microsoft® Visual Basic® Scripting Edition
Date and Time Constants
 Language Reference 
Version 2 

See Also



These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions. For VBScript, you must explicitly declare these constants in your code.

Constant Value Description
vbSunday 1 Sunday
vbMonday 2 Monday
vbTuesday 3 Tuesday
vbWednesday 4 Wednesday
vbThursday 5 Thursday
vbFriday 6 Friday
vbSaturday 7 Saturday
vbFirstJan1 1 Use the week in which January 1 occurs (default).
vbFirstFourDays 2 Use the first week that has at least four days in the new year.
vbFirstFullWeek 3 Use the first full week of the year.
vbUseSystem 0 Use the date format contained in the regional settings for your computer.
vbUseSystemDayOfWeek 0 Use the day of the week specified in your system settings for the first day of the week.