[Overview][Classes] | Reference for unit 'IniFiles' (#fcl) |
Read a date value
Source position: inifiles.pp line 137
public function TCustomIniFile.ReadDate( |
const Section: String; |
const Ident: String; |
Default: TDateTime |
):TDateTime; virtual; |
Section |
|
Section to read Ident from |
Ident |
|
Name of key to retrieve value from |
Default |
|
Default value to return when the key Ident does not exist. |
Value of Ident as a TDateTime
ReadDate reads the key Ident in section Section, and returns the value as a date (TDateTime). If the specified key or section do not exist, then the value in Default is returned. If the key exists, but contains an invalid date value, Default is also returned. The international settings of the SysUtils are taken into account when deciding if the read value is a correct date.
|
Write date value |
|
|
Read an integer value from the file |
|
|
||
|
Read a string valued key |
|
|
Read a Date/Time value |
|
|
Read a time value |
|
|
Read a floating point value |
|
|
Read binary data |
No notes exist for this page yet.