Data.DB.TStringField.GetAsDateTime

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TStringField

Delphi

function GetAsDateTime: TDateTime; override;

C++

virtual System::TDateTime __fastcall GetAsDateTime();

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.

See Also