# 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="/files/OLkhXUeaFJ7vWcCIMOt3" alt=""><figcaption></figcaption></figure>


---

# 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.avoautomation.com/avo-assure/actions/sap/calendar-operations/select-date-range.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.
