activities
latest
false
UiPath logo, featuring letters U and I in white
Workflow Activities
Last updated Nov 18, 2024

RandomDate

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

Definition

Namespace: UiPath.Testing.API

Assembly: UiPath.Testing.Activities.Api (in UiPath.Testing.Activities.Api.dll)

RandomDate(DateTime, DateTime)

DateTime RandomDate(
	DateTime minDate,
	DateTime maxDate
)DateTime RandomDate(
	DateTime minDate,
	DateTime maxDate
)
minDate DateTime
Minimum date range.
maxDate DateTime
Maximum date range.

Return value

Generated random date.

  • Definition
  • RandomDate(DateTime, DateTime)
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.