Adds a specified number of working days to a date.
Namespace
xmlns:AS="http://schema.advantages.cz/AsapFunctions"
Syntax
Parameters
Name | Description |
---|---|
date | Date to which days will be added. |
days | Number of days to add (if the number is negative, days will be deducted). |
calendarId | ID of the calendar by which the working days will be calculated. The calendar (entity Calendar) allows you to specify which weekdays are working days and a list of holidays. |
Remarks
If the date has a time part, the time is not touched.
Example
This example adds 1 working day to a source date. The calendar is stored in a constant DefaultCalendarId
.
Source XML
Stylesheet