|
<< Click to Display Table of Contents >> DbiTimeStampEncode |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiTimeStampEncode (dateD, timeT, ptsTS);
Delphi syntax
function DbiTimeStampEncode (dateD: DbiDate; timeT: Time; var tsTS: TimeStamp): DBIResult stdcal;
Description
DbiTimeStampEncode encodes the encoded DBIDATE and encoded TIME into a TIMESTAMP.
Parameters
dateD Type: DBIDATE (Input)
Specifies the encoded date.
timeT Type: TIME (Input)
Specifies the encoded time.
ptsTS Type: pTIMESTAMP (Output)
Pointer to the client variable that receives the encoded timestamp.
Usage
This function enables the client application to construct a TIMESTAMP value for use in DbiPutField. This function is a non-driver related service function; it works for all drivers.
DbiResult |
Meaning |
DBIERR_NONE |
The timestamp was successfully encoded. |
DBIERR_INVALIDHNDL |
ptsTS is NULL. |
DBIERR_INVALIDTIMESTAMP |
The range of date and time parameters is invalid. |
See also