FileAge

From SCAR Divi Manual
Jump to: navigation, search

Definition

function FileAge(const Path: string): TDateTime;

Availability

SCAR Divi 3.31 > Current

Description

Returns the date and time of the last modification of a file specified by Path in a TDateTime format.

Example

begin
  WriteLn(DateToStr(FileAge(AppPath + 'scar.exe')));
end.