# Select Date Range

This is a pre-built action available for the **Captured Calendar Element** within **SAP GUI applications**. The functionality of this action in Avo Assure is to select a range of dates in the calendar interface.&#x20;

### Syntax&#x20;

**Input Value:** `<Input ‘From’ date (YYYYMMDD);‘To’ date (YYYYMMDD)>`

| Argument                                    | Description                           |
| ------------------------------------------- | ------------------------------------- |
| \<From Date (YYYYMMDD); To Date (YYYYMMDD)> | Provide the date range to be selected |

**Output Value**&#x20;

| Argument                                                       | Description                                                                                        |
| -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| \<Dynamic Variable> (Optional); \<Dynamic Variable> (Optional) | This dynamic variable holds the result of the range selection in the form of **True** or **False** |

**Example**&#x20;

**Selects a specific date range from a calendar element in the SAP GUI application.**&#x20;

The **Select Date Range** action takes the value from the Input Value column and selects the specified range from the ‘From’ date **(20250612)** to the ‘To’ **(20250712)** date in the calendar.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fqy78oMRIkzUTCtU4qVrJ%2Fimage.png?alt=media&#x26;token=a0296cff-b6a2-4a95-8b18-805a5a14729d" alt=""><figcaption></figcaption></figure>
