PX_time2string — Convert paradox time into formatted string
Contents
Description
Creates a string representation of a paradox time as specified in the parameter format. The time must be
either retrieved with PX_get_data_long(3) after calling PX_get_record(3) or by simply using the long
value in the pxval_t struct as returned by PX_retrieve_record(3). The function uses internally the
PX_timestamp2string(3) function. The format string may contain all chars as documented with
PX_timestamp2string(3), though only those concerning the time will produce resonable results.
Name
PX_time2string — Convert paradox time into formatted string
Return Value
Returns pointer to string on success and NULL on failure.
See Also
PX_timestamp2string(3), PX_date2string(3)
Synopsis
#include <paradox.h>
char * PX_time2string(pxdoc_t *pxdoc, long time, const char *format)
