Function StoD() Foundation
Converts a character string in the format YYYYMMDD to a date value.
StoD( <cDateString> ) --> dDate
The function StoD() returns the date value specified by <cDateString>. If <cDateString> is a null string or an invalid date, the function returns an empty date.
The function StoD() converts a character string to a date value. The character string must be in the format ("YYYYMMDD"). The function is the counterpart of DtoS(). With StoD() date constants can be created which are independent of the current date format. That is especially meaningful with the date format SET DATE SYSTEM, since a date value under this format is dependent on the system configuration setting.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.