Date
This extension contains methods for getting additional information about a given date.
* The Calendar week rules input accepts the following values:
0 or empty = System. Uses the system setting.
1 = First Day: Indicates that the first week of the year starts on the first day of the year, with the day entered as the first day of the week**.
2 = First Full Week: Indicates that the first week of the year starts not on the first day of the year but when the day entered as the first day of the week** arrives.
3 = First Four-Day Week: Indicates that the first week of the year is the first week with four or more days before the designated first day of the week**.
**The First day of the week input selects which day is taken as the first day of the week. (Under ISO standards the first day of the week is Monday; however, this may vary by region.) Inputs corresponding to the days:
0 or empty = System
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
7 = Sunday