[Contents] [Parent chapter] [Previous chapter] [Next chapter]

ReadDateTime

Reads an date-and-time value from the file.

Class
TTextIniFile

Declaration

function ReadDateTime(const Section, Ident: string; 
                                  const Default: TDateTime): TDateTime;

Visibility
public

Description
Reads an date-and-time value from the file. If either the given section or the given identifier does not exist, or the value cannot be converted to TDateTime, the default value is returned instead.

See
WriteDateTime