Hi all,
please i want to know if there is a function who return the date of the modification of a file, like :
Date("C:\test.dat") returns 07/06/2018.
Thanks.
a function who return the date of modification of a file
-
- Posts: 1803
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: a function who return the date of modification of a file
There is no such function in CSPro. If you are executing the program on Windows, you could use execsystem to call a DOS batch file that calls dir and redirects the output to a text file. You could then read that output in CSPro and parse for the date.