Data.DB.TDateTimeRec
From RAD Studio API Documentation
Delphi
TDateTimeRec = record case TFieldType of ftDate: (Date: Integer); ftTime: (Time: Integer); ftDateTime: (DateTime: TDateTimeAlias); end;
C++
struct DECLSPEC_DRECORD TDateTimeRec { public: union { struct { TDateTimeAlias DateTime; }; struct { int Time; }; struct { int Date; }; }; };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TDateTimeRec represents a record holding date-time information.
TDateTimeRec is a record that holds date-time information. TFieldType can take one of the following values: ftDate, ftTime (in both cases the result is of Longint type), or ftDateTime (in this case, the result is of TDateTime type).
See Also
- TDateTimeField
- TTimeField
- TDateField
- TSQLTimeStampField
- TDataSet
- TField
- TDateTime
- Longint
- Using Default Formatting for Numeric, Date, and Time Fields
- Converting Field Values