ctdbDateTimeSetDate
Set a CTDATETIME type value with a CTDATE type value.
NOTE: See ctdbDateTimeSetDateMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimeSetDate(pCTDATETIME pDateTime, CTDATE DATE)
Description
ctdbDateTimeSetDate() sets a CTDATETIME type value with a CTDATE type value. The time component of the CTDATETIME type value is left unchanged.
Returns
ctdbDateTimeSetDate() returns CTDBRET_OK on success, or FairCom DB API error on failure.
See also
ctdbDateTimeGetDate(), ctdbDateTimeSetTime(), ctdbDateTimeSetTimeMsec