Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

DateTimeRecToDateTime

Convert TDateTimeRec record to a TDateTime value.

Declaration

Source position: db.pas line 2514

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

TFieldType

  

Field data type description.

TDateTimeRec

  

Date/Time record.

DateTimeToDateTimeRec

  

Convert TDateTime value to a TDateTimeRec record.


Documentation generated on: Nov 23 2024