ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






CONSTANTS:  Date And Time

Date And Time Constants

You may use either the CONSTANT (left column) or the VALUE (center column) in your code and get the same results.

CONSTANTVALUEDESCRIPTION
VBSunday1Sunday
VBMonday2Monday
VBTuesday3Tuesday
VBWednesday4Wednesday
VBThursday5Thursday
VBFriday6Friday
VBSaturday7Saturday
VBFirstJan11Week of January 1
VBFirstFourDays2First week of the year that has at least four days
VBFirstFullWeek3First full week of the year
VBUseSystem0Use the date format of the computer's regional setting
VBUseSystemDayOfWeek0Use the first day of the week defined by system settings