When you call date-related functions, you can use enumeration members in your code in place of the actual values.
The DateInterval enumeration defines constants used with date-related functions to identify how date intervals are determined and formatted. The following table lists the DateInterval enumeration members.