ctdbDateTimeGetDate
Retrieve a CTDATE type value from a CTDATETIME type value
NOTE: See ctdbDateTimeGetDateMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimeGetDate(CTDATETIME DateTime, pCTDATE pDATE)
Description
ctdbDateTimeGetDate() retrieves a CTDATE type value from a CTDATETIME type value.
Returns
ctdbDateTimeGetDate() returns CTDBRET_OK on success, or FairCom DB API error on failure.
See also
ctdbDateTimeSetDate(), ctdbDateTimeGetTime(), ctdbDateTimeGetTimeMsec