--- title: "Get Business Days Between Dates For Location Step" slug: "get-business-days-between-dates-for-location-step" tags: ["day", "business time", "Locations"] updated: 2025-07-07T20:26:47Z published: 2025-07-07T20:26:47Z canonical: "documentation.decisions.com/get-business-days-between-dates-for-location-step" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Business Days Between Dates For Location Step | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > Dates | The **Get Business Days Between Dates** **For Location** step is used to determine how many business days exist between a time span. --- ## Properties #### Settings | Property | Description | Data Type | | --- | --- | --- | | Include Start in Count | Will include the start date in the output number | --- | | Include End in Count | Will include the end date in the output number | --- | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | End | Allows the user to specify the end date | DateTime | | Location Name | Allows the user to define the name of the [location](https://documentation.decisions.com/docs/configuring-locations) | String | | Start | Allows the user to specify the start date | DateTime | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | | | Business Days | Outputs the number of days | Int32 | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1667486876028.png) --- ## Example for Get Business Days Between Dates For Location Step This step calculates the number of Business Days between the Start and End dates. It will exclude all non-working days and holidays configured for the Location entity. 1. Create a new **Flow**. Refer to [**Create Flows**](/v9/docs/create-flows). 2. From the **Toolbox** tab, navigate to the **DATA** > **DATES** category and drag the **Get Business Days Between Dates for** **Location** step to the designer surface. Connect the **Start** and **End** steps.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-12_12h49_38.png) 3. Select the newly added step to configure its **Properties**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-12_12h50_49.png) 4. Under **INPUTS,** map **End** to **Constant Date** and select July 5, 2022. 5. Map **Location Name** to **Constant** and enter value "Decisions."Note:**Location Name** should be exactly the same as the Location configured in System Data. Refer to [**Configuring Locations**](https://documentation.decisions.com/v9/docs/configuring-locations)**.** 6. Map **Start** to **Constant Date** and select June 30, 2022. 7. Save the Flow, then click **Debug** on the top action bar. Click **START DEBUGGING**. 8. After the Flow runs, select the **Get Business Days Between Dates For Location** step **>** **Execution 1 >** **View Input/Output Data**. Successful execution of the flow will eliminate all the weekends (Saturday & Sunday) and a Holiday (July 4, 2022) configured for the Location (Decisions) to output the value 2. #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1659703454017.png) Related Information Forum Posts: [Calculate Business Days W/ A Negative Integer](https://community.decisions.com/discussion/2336/calculate-business-days-w-a-negative-integer) ## Related - [Compute Business Time Step](/compute-business-time-step.md) - [Compute Business Time For Location Step](/compute-business-time-for-location-step.md)