Scripting > mrScriptBasic overview > mrScriptBasic language reference > Script constants > Date and time constants
 
Date and time constants
The following table defines the date and time constants that are built into mrScriptBasic. You can use these constants anywhere in a script.
Constant
Value
Description
mr.Sunday
1
Sunday
mr.Monday
2
Monday
mr.Tuesday
3
Tuesday
mr.Wednesday
4
Wednesday
mr.Thursday
5
Thursday
mr.Friday
6
Friday
mr.Saturday
7
Saturday
mr.UseSystem
0
Use the day of the week specified in your system settings for the first day of the week.
mr.FirstJan1
1
Use the week in which January 1 occurs (default).
mr.FirstFourDays
2
Use the first week that has at least four days in the new year.
mr.FirstFullWeek
3
Use the first full week of the year.
See also
Script constants