dbdateorder

Description

Return the date component order for a given language.

Syntax

char *dbdateorder(dbproc, language)
 
DBPROCESS     *dbproc;
char                    *language;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

language

The name of the language of interest.

Returns

A pointer to a null-terminated, 3-character string containing the characters “m,” “d,” and “y,” representing the month, day, and year date components, respectively. The order of the characters in the dbdateorder string corresponds to their order in language’s default datetime format.

dbdateorder returns a NULL pointer on failure.

Usage

See also

dbconvert, dbdata, dbdatechar, dbdatecrack