[Lazarus] Getting the last modified date of a directory

Rik van Kekem rik at graficalc.nl
Mon Oct 27 19:04:17 CET 2014


Maybe it's just me but what's the use of "Date modified" for a folder?
It *does not* (like TS expects) reflect the date of the last file 
*changed* in the folder. Only when files are removed or added the "Date 
modified" of the folder changes. If you also want the time of the last 
changes in the folder you would need to loop through all the files.

And how would you handle changes in subfolders? Would you expect FileAge 
to also include subfolders?





More information about the Lazarus mailing list