DbiGetTimeFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiGetTimeFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiGetTimeFormat (pfmtTime);

Delphi syntax

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

Description

DbiGetTimeFormat gets the time format for the current session.

Parameters

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

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

DbiResult

Meaning

DBIERR_NONE

The time format was successfully retrieved.

DBIERR_INVALIDHNDL

pfmtTime is NULL.

See also

DbiGetNumberFormat, DbiGetDateFormat, DbiSetTimeFormat