Move a UTC date by signed working days, skipping Saturdays, Sundays and optional YYYY-MM-DD holidays. Preserve UTC time of day. Zero returns the starting instant. Maximum 10,000 business days.
Example
The ISO timestamps below are the values carried by DateTime connections. Connect the output of Parse Date or Create DateTime.
{"date":"2024-05-03T00:00:00.000Z","days":1,"holidays":["2024-05-06"]}
Result
{"result":"2024-05-07T00:00:00.000Z"}
Connector data types
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | date — Date | datetime | yes |
| Input | days — Days | number | yes |
| Input | holidays — Holidays | list | no |
| Output | result — Result | datetime | on success |
Errors and recovery
Supply a signed whole number of business days and holiday dates in YYYY-MM-DD format. Connect a DateTime from Parse Date if the original date is text.
