Artisan SVG > Script (script) (file-format-javascript)

Weekdays between two dates

Snippet
Universal
Intermediate

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet
Copy

Get a count of the weekdays days between any two dates. Only excludes weekends, is not aware of holidays. Dates must be formatted: YYYY-MM-DD

See it in action
Copy