Difference between revisions of "FileAge"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function FileAge(const Path: string): TDateTime; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== Returns t...")
 
(No difference)

Latest revision as of 12:15, 29 January 2012

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.