# Get business days between dates transform action

## Use case

You would like to get the count of business days between dates.

## Overview

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2Fz824zi1sRUr3Sa21RoHm%2FScreenshot%202025-04-18%20at%202.50.19%E2%80%AFPM.png?alt=media&#x26;token=56677ff5-e921-48f6-b83a-2d50f2e67ae6" alt="A photo of the text header in the transform menu of the workflow builder for get business days between dates "><figcaption></figcaption></figure>

Get the number of business days between two dates.

## Parameters

<table><thead><tr><th width="217">Parameter</th><th width="417.3333333333333">Description</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>Start Date</td><td>The start date; This day is inclusive in the returned count.</td><td>true</td></tr><tr><td>End Date</td><td>The end date; This day is exclusive in the returned count.</td><td>true</td></tr><tr><td>Holidays</td><td>A list of holidays</td><td>false</td></tr><tr><td>Country</td><td>Country Specific Holidays to remove from the set.</td><td>false</td></tr></tbody></table>

{% hint style="info" %}
It is important to note that the end date is exclusive in the returned count, only start date is inclusive in the count.
{% endhint %}

## Usage

<details>

<summary>Example 1: 07/01/2025 through 07/07/2025 excluding US Holidays</summary>

Inputs:

**Start Date:** 07/01/2025

**End Date:** 07/07/2025

**Holidays:**

**Country:** United States of America

</details>

<details>

<summary>Example 2: 07/01/2025 through 07/07/2025 not excluding US Holidays</summary>

Inputs:

**Start Date:** 07/01/2025

**End Date:** 07/07/2025

**Holidays:**

**Country:**

</details>

## Results output

Result of Example 1:

```
3
```

Result of Example 2:

```
4
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rewst.help/documentation/automations/actions-in-rewst/transform-actions/get-business-days-between-dates-transform-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
