# Generate Random Date

> `UiPath.Testing.Activities.Test.Data.GenerateRandomDate`

`UiPath.Testing.Activities.Test.Data.GenerateRandomDate`

## Description

Generates a random date between two dates. You can define the date range in the following format: mm/dd/yyyy.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Windows - Legacy configuration

#### **Designer panel**

* **Select Minimum Date** - Minimum date range.
* **Select Maximum Date** - Maximum date range.

#### **Properties panel**

**Common**
* **DisplayName** - The display name of the activity.

**Input**
* **Maximum date** - Maximum date range.
* **Minimum date** - Minimum date range.

**Misc**
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

**Output**
* **Output** - (String, String) with the following field:`DateTime`. Charset: Unicode.

## Windows, Cross-platform configuration

* **Maximum date** - Maximum date range.
* **Minimum date** - Minimum date range.
* **Output** - (String, String) with the following field:`DateTime`. Charset: Unicode.
