Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDate::DateToString

Syntax

CTString DateToString(CTDATE_TYPE DateType) const

Parameters

  • DateType [in] The date type format used to convert to string. The valid date type formats are:

    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()

TOCIndex