Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbCurrentTimestamp

Returns the number of microseconds since January 1, 1970 (which is incompatible with all other ctdb DateTime function calls).

Declaration

CTDBRET ctdbDECL ctdbCurrentTimestamp(ULONG8 * pTimestamp)

Description

  • ULONG8 pTimestamp unsigned 8-byte integer representing current timestamp as the number of microseconds since January 1, 1970 UTC (excluding leap seconds).

This function relies on the system, and makes no guarantees for accuracy or monotonic behavior.

Returns

Returns NO_ERROR on success.

TOCIndex