IsDateValue
Determines whether the value of the located word is in one of the supported date formats.
Syntax
bool IsDateValue ()
Parameters
None.Returns
True if the located value is an acceptable Date. Otherwise, False.Level
Page or field level.Details
Using the current location of a previously located word or phrase, this action determines if the characters are in a valid date format and are a valid date. By testing the type of characters recognized in the current word or phrase, it is possible for an application to determine it has located the type of data that is required, and then take subsequent actions based on the result of the test. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.Attention: This action is dynamic locale aware.
- Example
If the located word's recognized value is: 01/01/2003 IsDateValue() returns TRUE If the located word's recognized value is: January 01,2003 IsDateValue() returns TRUE If the located word's recognized value is: 13/13/2003 IsDateValue()returns FALSE