Data.DB.TField.GetAsDateTime
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
function GetAsDateTime: TDateTime; virtual;
C++
virtual System::TDateTime __fastcall GetAsDateTime();
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.