BusDateDelta

The BusDateDelta function calculates the difference, in business days, between two dates.

The dates are converted to valid business dates before they are used. When a partner is provided to the function, the holiday table for the partner is used to convert the date. The default holiday table is used when no partner is provided to the function.

Return type

The function return type is: INTEGER

Function parameters

Table 1. BusDateDelta assignment function parameters
Parameter order Input variable type Parameter data type Required parameter Description
1 Data field DATE Yes One of the calendar dates used to compute the difference in business days.
2 Data field DATE Yes One of the calendar dates used to compute the difference in business days.
3 Valid types are:
  • Data field
  • Constant
PARTNER No The partner to use when normalizing the dates.