Automation Guide
Action-based testing language
TestArchitect Automation Classes
Engine class methods
The requested page is not available for selected version.
FormatDate
Syntax
string FormatDate (integer date)
Description
Format a date into a string.
Parameters
date
Date in the form of a number (“Julian” format).
Return Value
The return value is the formatted date string.
Notes
- Dates are kept as numbers, according the Julian date standard. To make a date readable it needs to be formatted with this function.
- The date is formatted according to the “date format” setting. See paragraph 3.1 for a description how this setting controls the date formatting.
- This function is equivalent to the " fd " function as it can be used by the tester in a “#” expression.
- This function is the inverse of the ParseDate function, that converts a text formatted date to a Julian number.