Show: Delphi C++
Display Preferences

System.Win.Registry.TRegistryIniFile.ReadDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual System::TDateTime __fastcall ReadDateTime(const System::UnicodeString Section, const System::UnicodeString Name, System::TDateTime Default);

Properties

Type Visibility Source Unit Parent
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistryIniFile

Description

Retrieves a date-time value from an INI file.

Call ReadDateTime to read a date-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 date-time value. Default is the date-time value to return if the:

  • Section does not exist.
  • Key does not exist.
  • Data value for the key is not assigned.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance