CTDate::DateToString
Syntax
CTString DateToString(CTDATE_TYPE DateType) const
Parameters
Symbolic Constant |
Explanation |
---|---|
CTDATE_DEF |
Use default date type |
CTDATE_MDCY |
Date is mm/dd/ccyy |
CTDATE_MDY |
Date is mm/dd/yy |
CTDATE_DMCY |
Date is dd/mm/ccyy |
CTDATE_DMY |
Date is dd/mm/yy |
CTDATE_CYMD |
Date is ccyymmdd |
CTDATE_YMD |
Date is yymmdd |
Description
Converts a packed CTDATE type value to a CTString object.
Return
DateToString() returns a CTString object with the date.
See also
StringToDate()