Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDateTime::DateTimeToString

Syntax

CTString DateTimeToString(CTDATE_TYPE DateType, CTTIME_TYPE TimeType) const

Parameters

  • DateType [in] The Date type format used to convert to string. The valid Date type formats are shown is "Data Types".
  • TimeType [in] The Time type format used to convert to string. The valid Time type formats are shown in "Data Types".

Description

Converts a packed CTDATETIME type value to a CTString object.

Return

DateTimeToString() returns a CTString object with the DateTime.

See also

StringToDateTime()

TOCIndex