FORMULA LANGUAGE


Examples: @BusinessDays
1. This agent displays the number of days in 2001 excluding Saturdays, Sundays, and 10 holidays.
2. This agent displays the number of days in each quarter of 2001 excluding Saturdays, Sundays, and 10 holidays.
3. This field value formula returns the number of days from StartDate to EndDate, inclusive, less NonWorkDays and Holidays. StartDate and EndDate are time-date fields with scalar values. NonWorkDays is a keyword field with alias values of "1" and "7" for Sunday and Saturday. Holidays is a time-date field that allows multiple values.
4. This code, when added to a view action in a calendar view that contains a multiple-day event, displays a dialog box that shows the number of business days in the event. For instance, if, in your calendar view, you include a Vacation event that lasts for 32 days (startDT field is 08/02/2002 and endDT field is 09/02/2002), when a user selects the Vacation event from the calendar and clicks on the button, a dialog box appears entitled "Business days" that displays 22.
See Also