System.IniFiles.TCustomIniFile.ReadDate
Delphi
function ReadDate(const Section, Name: string; Default: TDateTime): TDateTime; virtual;
C++
virtual System::TDateTime __fastcall ReadDate(const System::UnicodeString Section, const System::UnicodeString Name, System::TDateTime Default);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IniFiles.pas System.IniFiles.hpp |
System.IniFiles | TCustomIniFile |
Description
Retrieves a date value from an ini file.
Call ReadDate to read a date value from an ini file. Section identifies the section in the file that contains the desired key. Ident is the name of the key from which to retrieve the date value. Default is the date value to return if the:
Section does not exist.
Key does not exist.
Data value for the key is not assigned.