use system ("dir /4 /T:W YOURFILE | findstr YOURFILE > temp.txt")
and you will get an output like:
C:\> dir /4 /T:W log.txt | findstr log.txt > t.txt
03/25/2014 10:39 AM 451,282 log.txt
in temp.txt, which you can parse as a normal file :P
/4 shows four characters for the year, /T:W returns last write time