Apr 12, 2004 #1 tbarone Programmer Joined Aug 1, 2001 Messages 13 Location US I do not quite understand the Get attributes command in Delphi. How do I get the last date modified from a file and bring it into Delphi? Thanks, Tony
I do not quite understand the Get attributes command in Delphi. How do I get the last date modified from a file and bring it into Delphi? Thanks, Tony
Apr 12, 2004 #2 hilfy Active member Joined Oct 31, 2003 Messages 2,564 Location US Try using the FileAge and FileDateToDateTime functions: FileDate := FileDateToDateTime(FileAge('C:\MyFile.txt')); -D Upvote 0 Downvote
Try using the FileAge and FileDateToDateTime functions: FileDate := FileDateToDateTime(FileAge('C:\MyFile.txt')); -D