[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

DateTimeToDateTimeRec

Convert TDateTime value to a TDateTimeRec record.

Declaration

Source position: db.pas line 2254

function DateTimeToDateTimeRec(

  DT: TFieldType;

  Data: TDateTime

):TDateTimeRec;

Arguments

DT

  

Datatype for result

Data

  

Timestamp specification in TDateTime format.

Function result

TDateTimeRec record corresponding to timestamp in Data.

Description

DateTimeToDateTimeRec examines Data and Dt and uses dt to convert the date/time value in Data to a TDateTimeRec record.

See also

TFieldType

  

Field data type description

TDateTimeRec

  

Date/Time record

DateTimeRecToDateTime

  

Convert TDateTimeRec record to a TDateTime value.


Documentation generated on: Jun 22 2020