Function _retds() Foundation
Returns a character string as a date value to Xbase++.
BOOL _retds(XppParamList pList, CHAR *cDate);
Always returns TRUE.
_retds() is used to return a date value. The string must contain a date in the format "YYYYMMDD",zero padded if needed. All additional characters in the string are ignored. If the string can not be converted into a valid date, the return value is set to a NULL date. Calling this does not exit the actual function, but merely sets the return value. After the call an access to other C-API functions except for _conRelease()is not allowed anymore and the function should return immediately.
/*
Returns the date 7/25/1994
*/
#include <xpppar.h>
retds(<pList>, "19940725");
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.