DIAdem Help

Date and Time Constants

  • Updated2024-09-12
  • 1 minute(s) read

Date and Time Constants

These constants are integrated in VBS and need not be defined before use. Use these constants anywhere in your script to represent the displayed values.

ConstantValueDescription
vbSunday1Sunday
vbMonday2Monday
vbTuesday3Tuesday
vbWednesday4Wednesday
vbThursday5Thursday
vbFriday6Friday
vbSaturday7Saturday
vbUseSystem0Date format specified in the country settings
vbUseSystemDayOfWeek0Day specified as first day of the week in the country settings
vbFirstJan11Week of January 1.
vbFirstFourDays2First week with at least four days in the new year.
vbFirstFullWeek3First full week of a year