DP_DateExtension:
Alternate First Day of Week Examples

Back to the Main Page

All of these examples assume that the library has been imported as noted in the Documentation.

The round(), ceil() and floor() Methods

The round(), ceil() and floor() methods consider the starting day of the week as set in Date.FirstDayOfWeek (default is "0" which is Sunday):

The diff() Method

The diff() method provides three distinct methods for determining differences in dates. Two of them, "Logical" and "Complete" alter their bahavior based on the value of Date.FirstDayOfWeek. The methods are:

The best way to understand these options is through examples: