DbiSetDateFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiSetDateFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiSetDateFormat (pfmtDate);

Delphi syntax

function DbiSetDateFormat (var fmtDate: FMTDate): DBIResult stdcall;

Description

DbiSetDateFormat sets the date format for the current session.

Parameters

pfmtDate                Type: pFMTDate                (Input)
Pointer to the date format structure.

Usage

The date format is used by QBE (Query By Example language) for input and wildcard character matching. It is also used by batch operations (such as DbiDoRestructure and DbiBatchMove) to handle data type coercion between character and date types.

DbiResult

Meaning

DBIERR_NONE

The date format was successfully set.

DBIERR_INVALIDHNDL

The pointer to the date format structure is NULL.

DBIERR_INVALIDPARAM

Data within the date format structure is invalid.

See also

DbiGetDateFormat