# 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FpulJXthDMTbGMDj6VuXt%2Fimage.png?alt=media&#x26;token=d546f553-5562-4a35-a68b-180fee60976e" 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** |
