RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomIniFile.ReadDate Method

Retrieves a date value from an ini file.

Pascal
function ReadDate(const Section: string; const Name: string; Default: TDateTime): TDateTime; virtual;
C++
virtual __fastcall TDateTime ReadDate(const AnsiString Section, const AnsiString Name, TDateTime Default);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!