Data.DB.TDateTimeRec

From RAD Studio API Documentation
Jump to: navigation, search

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

Code Examples

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=Data.DB.TDateTimeRec&oldid=623815"