Data.DB.TStringField.GetAsDateTime
Delphi
function GetAsDateTime: TDateTime; override;
C++
virtual System::TDateTime __fastcall GetAsDateTime();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TStringField |
Description
Returns the value of the field as a TDateTime.
GetAsDateTime converts the field's value to a TDateTime and returns the obtained result. The StrToDateTime function is used internally.