{{tag>Function Function_List Date_And_Time}} ====== BUSINESS_DAY_FORWARD ====== ===== Description ===== Calculates the date that corresponds to the first business day after 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_FORWARD (date[, days])'' Cannot be used in the condition of a [[:ref:a_f:a:find|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 forward. If omitted, one day is assumed. ===== Returns ===== **Date**: the business day after the given date; with days, that many business days forward (default 1). Weekends and the public holidays in the server's PublicHolidays property are skipped ===== Example ===== IF CURRENT_DATE = BUSINESS_DAY_FORWARD (Account.OpeningDate) THEN ... ===== Related ===== [[ref:a_f:f:af:business_day_back|BUSINESS_DAY_BACK]], [[ref:a_f:f:af:date_add|DATE_ADD]], [[ref:a_f:f:af:day_number_in_week|DAY_NUMBER_IN_WEEK]]