Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbUnixTimeGetDate

Retrieve a CTDATE type value from a unix time type value

Declaration

CTDBRET ctdbDECL ctdbUnixTimeGetDate(time_t DateTime, pCTDATE pDate)

Description

ctdbUnixTimeGetDate() retrieves a CTDATE type value from a unix time type value

Parameters:

  • DateTime [IN] - unix time time_t type value
  • pDate [OUT] - Packed CTDATE type value

Return Values

Return CTDBRET_OK on success

TOCIndex