This example demonstrates isDate()
Input a date:
What to try in a date field:
MMDD - convert to MM/DD/CCYY (CCYY = this year)
MMDDYY - convert to MM/DD/CCYY (if YY < 30, CC=19 else CC=20)
MM/DD/YY - convert to MM/DD/CCYY (if YY < 30, CC=19 else CC=20)
MM/DD/CCYY - no conversion
No date prior to 01/01/1851
No date after 06/06/2030
Verify all values: MM 1-12, DD 1-31
Convert /d to today's date
Convert /w to one week from today
Convert /m to one month from today
Convert /y to one year from today
Convert number (positive or negative) in /x formats (eg: /2d = two days from today)
If the user-entered data is not in a valid format, set error_message into an error message. If it is valid, set modified_string to the converted string.