DbiSetTimeFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiSetTimeFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiSetTimeFormat (pfmtTime);

Delphi syntax

function DbiSetTimeFormat (var fmtTime: FMTTime): DBIResult stdcall;

Description

DbiSetTimeFormat sets the time format for the current session.

Parameters

pfmtTime                Type: pFMTTime                (Input)
Pointer to the client-allocated FMTTime.

Usage

The time 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 time or datetime types.

DbiResult

Meaning

DBIERR_NONE

The time format was successfully set.

DBIERR_INVALIDHNDL

The pointer to the time format structure is NULL.

DBIERR_INVALIDPARAM

Data within the time format structure is invalid.

See also

DbiGetTimeFormat