Date/time/number functions

<< Click to Display Table of Contents >>

Navigation:  BDE Function Reference >

Date/time/number functions

Previous pageReturn to chapter overviewNext page

Each Borland Database Engine (BDE) function listed below sets or retrieves date, time or number formats for the current session, or decodes or encodes date and time into or from a timestamp.

Function

Description

DbiBcdFromFloat

Converts FLOAT data to binary coded decimal (BCD) format.

DbiBcdToFloat

Converts binary coded decimal (BCD) data to FLOAT format.

DbiDateDecode

Decodes DBIDATE into separate month, day and year components.

DbiDateEncode

Encodes separate date components into date for use by DbiPutField and other functions.

DbiGetDateFormat

Gets the date format for the current session.

DbiGetNumberFormat

Gets the number format for the current session.

DbiGetTimeFormat

Gets the time format for the current session.

DbiSetDateFormat

Sets the date format for the current session.

DbiSetNumberFormat

Sets the number format for the current session.

DbiSetTimeFormat

Sets the time format for the current session.

DbiTimeDecode

Decodes time into separate components (hours, minutes, milliseconds).

DbiTimeEncode

Encodes separate time components into time for use by DbiPutField and other functions.

DbiTimeStampDecode

Extracts separate encoded date and time components from the timestamp.

DbiTimeStampEncode

Encodes the encoded date and encoded time into a timestamp.