dbdayname

Description

Determine the name of a specified weekday in a specified language.

Syntax

char *dbdayname(dbproc, language, daynum)
 
DBPROCESS    *dbproc;
char                   *language;
int                       daynum;

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 desired language.

daynum

The number of the desired day. Day numbers range from 1 (Monday) to 7 (Sunday).

Returns

The name of the specified day on success; a NULL pointer on error.

Usage

See also

db12hour, dbdateorder, dbmonthname, DBSETLNATLANG