PX_date2string(3)

PX_date2string3

Convert paradox date into formatted string

Usage

#include <paradox.h>

char * PX_date2string(pxdoc_t *pxdoc, long date, const char *format)

Overview

Creates a string representation of a paradox date as specified in the parameter format. The date 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 date will produce resonable results.

Return value

Returns pointer to string on success and NULL on failure.

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–8
  5. 9–13

Author

This manual page was written by Uwe Steinmann [email protected].

From pxlib-dev 0.6.9-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.