Data.DB.TField.GetAsDateTime
Delphi
function GetAsDateTime: TDateTime; virtual;
C++
virtual System::TDateTime __fastcall GetAsDateTime(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Returns the value of the field as a TDateTime.
Descendants of TField that represent TDateTime fields override the GetAsDateTime method to return the value of the field as a TDateTime.
Trying to call the GetAsDateTime method raises an exception.