System.IOUtils.TDirectory.GetLastWriteTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetLastWriteTime(const Path: string): TDateTime; static;

C++

static System::TDateTime __fastcall GetLastWriteTime(const System::UnicodeString Path);

Properties

Type Visibility Source Unit Parent
function public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TDirectory

Description

Returns the last write time of a directory.

Use GetLastWriteTime to obtain the last write time of a directory. The following table lists the parameters expected by this method.



Name Meaning

Path

Path of the directory for which the last write time is obtained.



Note: GetLastWriteTime raises an exception if the given path is invalid or the directory does not exist.

See Also