dbdatezero

Description

Initialize a DBDATETIME value to Jan 1, 1900 12:00:00:000AM.

Syntax

RETCODE dbdatezero(dbproc, dateptr)
 
DBPROCESS     *dbproc;
DBDATETIME     *dateptr;

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 the server.

This parameter may be NULL.

dateptr

A pointer to the DBDATETIME variable to initialize.

Returns

SUCCEED or FAIL.

dbdatezero returns FAIL if dateptr is NULL.

Usage

See also

dbdate4zero