Documentation

Looking for something in particular?

DateParse

This function converts a string to a date.

FormatDateParse(DateString,InputFormat,OutputFormat)

Examples:

{DateParse("2015-03-15", "yyyy-MM-dd")}– Will return this string as a date, e.g. 2015-03-15

{DateParse("2015-03-15", "yyyy-MM-dd","MM-dd-yyyy")}– Will return this string as a date and convert the date into a new format, e.g. 03-15-2015

Practice


Want to learn more about using this function in Automation? You can use the following sample test case to get started. Right-click to download DateParse.testcase and then drag and drop the test case into the test folder within the Navigator panel of Automation.

Note: Unzip/extract the compressed file before using it in Automation.

For more information, check out this course on University of Provar.


Feedback

Was this article helpful for you?
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top