Previous Topic: Time Increment

Next Topic: Business and Everyday Calendars

Calculation Assumptions and Examples for Date Built-In Functions

Since months and years do not contain equal numbers of days, date calculations involving these units are adjusted to conform to common sense standards rather than to pure mathematical accuracy. This section presents assumptions made to the output results for the *DATE INCREMENT and *DURATION built-in functions. A set of examples explain possibly confusing results and show recommended function usage.

CA 2E makes the following assumptions to provide consistent results for the *DATE INCREMENT and *DURATION functions independent of the input value: