# Get date

This is a pre-built action available under the **Captured Date Element** from the **Desktop Application**. The functionality of this action in Avo Assure is to retrieve the date based on the format specified in the Input Value column and store the result in a dynamic variable.

### **Syntax**

**Input Value:** `<Date format>`&#x20;

| Argument                               | Description                                                                                                                                             |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>\<Date format></p><p>(Required)</p> | <p>Specify the date format<br><strong>Supported Formats:</strong> <br>1. dd/MM/yyyy </p><p>2. MM/dd/yyyy</p><p>3. dd/MMM/yyyy </p><p>4. MMM/dd/yyyy</p> |

**Output Value:**

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Required)</p></td><td valign="top">This dynamic variable holds the retrieved date from the element.</td></tr><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Optional)</p></td><td valign="top">This dynamic variable holds the status of the action as <strong>True</strong> or <strong>False</strong>.</td></tr></tbody></table>

**Example**

**Retrieves the date from the captured date element in the specified format**

The **Get Date** action takes the value from the Input Value column (e.g., **dd/MM/yyyy**) and retrieves the date in the provided format from the captured date element. The result of the date retrieval operation is stored in the **{GetDate}** variable as (**13/12/2025**)

<figure><img src="/files/RFt8FF3Spkg7WckFYoPe" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
***Knowledge Bites:** Below are some examples of different dates formatted scenarios*
{% endhint %}

| Date formats | Input Value (syntax) | Result          |
| ------------ | -------------------- | --------------- |
| dd/MM/yyyy   | **dd/MM/yyyy**       | **15/13/2025**  |
| MM/dd/yyyy   | **MM/dd/yyyy**       | **13/08/2025**  |
| dd/MMM/yyyy  | **dd/MMM/yyyy**      | **15/Apr/2025** |
| MMM/dd/yyyy  | **MMM/dd/yyyy**      | **Apr/15/2025** |


---

# 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/desktop/date-time-picker/get-date.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.
