Function DtoS() Foundation
Converts a date value to a character string in the format YYYYMMDD.
DtoS( <dDate> ) --> cDate
DtoS() returns a character string of eight characters in the format YYYYMMDD. If <dDate> is an empty date (CtoD("")), DtoS() returns eight blank spaces. The current date format (SET DATE) has no influence on the return value.
DtoS() is a conversion function which transforms a date value to a character string with the format YYYYMMDD (year, month and day). It is used to provide correct sorting when date values are combined with other values in an index expression.
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.