DateTimeToDateTimeRec¶
Convert TDateTime value to a TDateTimeRec record.
Declaration¶
Source position: db.pas line 2519
function DateTimeToDateTimeRec(DT: TFieldType; Data: TDateTime)
: TDateTimeRec;
Arguments¶
| Name | Description |
|---|---|
| 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¶
| Name | Description |
|---|---|
| TFieldType | Field data type description. |
| TDateTimeRec | Date/Time record. |
| DateTimeRecToDateTime | Convert TDateTimeRec record to a TDateTime value. |