BUSINESS_DAY_BACK
Description
Calculates the date that corresponds to the first business day before the provided date. Business days are usually those that do not include weekends and public holidays. The list of public holidays may be provided in the PublicHolidays property of the server property file.
Syntax
BUSINESS_DAY_BACK (date[, days])
Cannot be used in the condition of a FIND action.
Parameters
Attribute of the Date type or date constant or calculation producing a date. The second parameter is optional – it indicates the number of days to move back. If omitted, one day is assumed.
Returns
Date: the business day before the given date; with days, that many business days back (default 1). Weekends and the public holidays in the server's PublicHolidays property are skipped
Example
IF CURRENT_DATE=BUSINESS_DAY_BACK (Account.OpeningDate) THEN ...