Sign in Join
FPDoc Onlineexperiment

DateTimeRecToDateTime function

In unit DB

Convert TDateTimeRec record to a TDateTime value.

Declaration

pascal
function DateTimeRecToDateTime(DT: TFieldType; Data: TDateTimeRec)
: TDateTime

Arguments

DT

Datatype of Data.

Data

Timestamp specification in TDateTimeRec formar.

Function result

TDateTime value corresponding to timestamp in Data.

Description

DateTimeRecToDateTime examines Data and Dt and uses dt to convert the timestamp in Data to a TDateTime value.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.