ctdbCurrentTime
Retrieve the current system time with whole second precision.
Declaration
CTDBRET ctdbCurrentTime(pCTTIME pTime)
Description
ctdbCurrentTime() retrieves the current system time. ctdbCurrentDateTime() retrieves the current date and time.
NOTE: See CTTIMEMS if you need millisecond precision.
Returns
ctdbCurrentTime() returns CTDBRET_OK on success, or FairCom DB API error code on failure.
See also
ctdbCurrentDate(), ctdbCurrentDateTime()