Start PHP Code RESULT
test.txt was last accessed on Wed 16 May 2018 11:59 PM
test.txt was last modified on Wed 16 May 2018 11:59 PM
test.txt was last changed on Wed 16 May 2018 11:59 PM

End PHP Code RESULT
The PHP Code START
<?php
$atime = fileatime("test.txt");
print "test.txt was last accessed on ";
print date("D d M Y g:i A", $atime);
print "<br />";

$mtime = filemtime("test.txt");
print "test.txt was last modified on ";
print date("D d M Y g:i A", $mtime);
print "<br />";

$ctime = filectime("test.txt");
print "test.txt was last changed on ";
print date("D d M Y g:i A", $ctime);
print "<br />";
?>
The PHP Code END
test.txt