FORMULA LANGUAGE


@BusinessDays
Example

Returns the number of business days in one or more date ranges.

Syntax

@BusinessDays( startDates ; endDates ; daysToExclude ; datesToExclude )

Note This @function is new with Release 6.

Parameters

startDates


endDates
daysToExclude
datesToExclude
Return value

numberOfDays


Usage

The operation on startDates and endDates is a pair-wise list operation. If they are not the same length, the shorter list is filled out with the value of the last element.

@BusinessDays returns -1 if the calculation produces a negative number of days, an end date precedes a start date, or a time-date value contains only a time.

Example
See Also