DbiGetDateFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiGetDateFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiGetDateFormat (pfmtDate);

Delphi syntax

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

Description

DbiGetDateFormat gets the date format for the current session.

Parameters

pfmtDate                Type: pFMTDate                (Output)
Pointer to the client-allocated FMTDate structure.

Usage

The date format is used by QBE 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. The default date format can be changed by editing the system configuration file. The date format for the current session can be changed using DbiSetDateFormat.

DbiResult

Meaning

DBIERR_NONE

The date format was successfully retrieved.

DBIERR_INVALIDHNDL

pfmtDate is NULL.

See also

DbiGetNumberFormat, DbiGetTimeFormat, DbiSetDateFormat