Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:f:af:business_day_back [2022/09/02 02:51] – removed - external edit (Unknown date) 127.0.0.1a_f:f:af:business_day_back [2023/05/08 07:04] (current) sean
Line 1: Line 1:
 +{{tag>Index Function Function_List Date_And_Time}}
 +====== 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.
  
 +===== 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.
 +
 +===== Example =====
 +<code aim>IF CURRENT_DATE=BUSINESS_DAY_BACK (Account.OpeningDate) THEN ... </code>