--- title: "Compute Business Time For Location Step" slug: "compute-business-time-for-location-step" tags: ["business time", "location"] updated: 2025-07-07T20:13:06Z published: 2025-07-07T20:13:06Z canonical: "documentation.decisions.com/compute-business-time-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. # Compute Business Time For Location Step | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > Dates | The **Compute Business Time For Location** step allows a user to calculate a business' time of operation for a specified location. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Days | Allows the user to specify the number of business days | Int32 | | Hours | Allows the user to specify hours | Int32 | | Location Name | Allows the user to define the name of the location | String | | Minutes | Allows the user to specify minutes | Int32 | | Start | Allows the user to specify the start date | DateTime | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | | | Compute Business Time Output | Outputs the Business time | DateTime | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1667242748545.png) --- ## Example for Compute Business Time For Location Step This step calculates a Business date. 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 **Compute Business Time 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_12h42_08.png) 3. Select the newly added step to configure its **Properties** panel.**The inputs will be configured to calculate a date 10 Days after the Start date, excluding Weekends and Holidays for the given Location.** 4. Under INPUTS, map **Days** to **Constant** and enter value 10 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 enter June 30, 2022.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-12_12h44_17.png) 7. **Save** the Flow, then click **Debug** on the top action bar. Select **START DEBUGGING**. 8. After the Flow runs, select the **Compute Business Time For Location** Step **>** **Executio****n 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 date July 15, 2022. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1659690506930.png) Related Information Forum Posts: [Determine Next Business Day](https://community.decisions.com/discussion/comment/2202#Comment_2202) ## Related - [Get Formatted Date Step](/get-formatted-date-step.md) - [Get Short Date](/get-short-date.md) - [Add Time Span Step](/add-time-span-step.md) - [Get Time Span Between](/get-time-span-between.md) - [Get User Time Line Step](/get-user-time-line-step.md)