GETFDATE C-3

NAME

getfdate - get format for DATE values

SYNOPSIS

#include <cbase/dtypes.h>

char *getfdate()

DESCRIPTION

Getfdate returns a pointer to a string containing the format for DATE values. This format string is used by atodate(C-3) and datetoa(C-3). In addition, several of the C/Base programs use this string for formatting DATE values.

The DATE format string is retrieved from the country format structure (see fcountry(C-3)).

SEE ALSO

fcountry(C-3), atodate(C-3), datetoa(C-3)

C/Base Reference Manual Chapter 13, "Formatting Data Values"

NOTES

The value returned points to static data shared among all of the get format routines and is overwritten with each call.

DATE value formats consist of only one specifier.