discover the modification date of a file with the function filemtime()
<? $mtime = filemtime( "test.txt" ); print "test.txt was last modified on "; print date("D d M Y g:i A", $mtime); ?>