NWLstrftime
Formats the time and date according to a specified format
#include <time.h>
#include <stdio.h> or #define NWL_EXCLUDE_FILE
#include <nwlocale.h>
N_EXTERN_LIBRARY(size_t) NWLstrftime (
pnstr dst,
size_t max,
const nstr N_FAR *fmt,
const struct tm N_FAR *ptm);
uses netwin32
Function NWLstrftime
(dst : pnstr;
max : size_t;
const fmt : nstr;
const ptm : struct [tm]
) : size_t;
NWLstrftime places characters into the dst parameter as formatted by the fmt parameter.
The fmt parameter can have the following values:
If the dst parameter is set to NULL, the length of the formatted string is still returned. The formatted string is not returned.