# Get days between dates transform action

## Use case

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

## Overview

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FXV2gHUkxSTrjFYfkqv3r%2FScreenshot%202025-04-18%20at%202.57.44%E2%80%AFPM.png?alt=media&#x26;token=d9c03cb4-1021-4762-8c2c-7dd1e969ba96" alt="A screenshot of the get days between dates transform action, seen in the actions list menu of the workflow builder canvas."><figcaption></figcaption></figure>

Get the number of 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></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: 07/01/2025 through 07/07/2025</summary>

Inputs:

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

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

**Holidays:**

**Country:** United States of America

</details>

## Results output

Result of Example:

```
6
```


---

# 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-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.
