RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomIniFile.ReadTime Method

Retrieves a time value from an ini file.

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

Call ReadTime to read a time 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 time value. Default is the time 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!