[Lazarus] Getting the last modified date of a directory

Richard Mace richard.mace at gmail.com
Sun Oct 26 10:42:05 CET 2014


I want to know the last time any file was created or modified within a
given folder which I believe is represented in windows via the last
modified date next to the folder?

Richard
On 26 Oct 2014 09:11, "Jürgen Hestermann" <juergen.hestermann at gmx.de> wrote:

>
> Am 2014-10-25 um 19:19 schrieb Richard Mace:
>
>  Hi All,
> I can see that we have a "FileAge" function and also a "FileGetDate"
> however, I was wondering what the best way of getting the last modified
> date of a folder? Effectively, the last time that a file was
> created/changed within a folder?
>
>  I think that "FileAge" should work for directory names too.
> Have not tested though.
>
> The question is: What does a directory date tell you?
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141026/6a6f86db/attachment-0003.html>


More information about the Lazarus mailing list