There is a good function " FileAge ".
Question:
How to make it work for a file with a network path?
Because, on occasion, for example:
"DateTimeToStr (FileDateToDateTime (FileAge ('KOSTYA: D: \ Eng.gdb')))",
delphi throws an error:
"... class EConvertError with message 'Invalid argument to date encode' ..."
Such a variant of the path, the program takes from the property " DatabaseName " component " IBDataBase ". Thank.
KOSTYA:D:\Eng.gdbis not a valid network path for standard file functions. - kot-da-vinciFileAgefunctions. - kot-da-vinci