ctdbCurrentDateTime
Retrieve the current system date and time, excluding milliseconds.
Declaration
CTDBRET ctdbCurrentDateTime(pCTDATETIME pDateTime)
Description
ctdbCurrentDateTime() retrieves the current system date and time.
Returns
ctdbCurrentDateTime() returns CTDBRET_OK on success, or FairCom DB API error code on failure.
NOTE: Although CTDATETIME includes milliseconds, this function truncates them to 0. Use ctdbCurrentDateTimeUTC() if you need millisecond support.
See also
ctdbCurrentDate(), ctdbCurrentTime(), ctdbCurrentDateTimeUTC()