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

DateTimeToDateTimeRec

Convert TDateTime value to a TDateTimeRec record.

Declaration

Source position: db.pas line 2515

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: Dec 22 2024