System.IOUtils.TFile.GetLastAccessTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetLastAccessTime(const Path: string): TDateTime; inline; static;

C++

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

Properties

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

Description

Returns the last access time of a file.

Use GetLastAccessTime to obtain the last access time of a file. The following table lists the parameters expected by this method.



Name Meaning

Path

Path of the file for which the last access time is obtained.



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

See Also