Get the change time of a document with the filectime() function. : filectime « File Directory « PHP






Get the change time of a document with the filectime() function.

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








Related examples in the same category

1.filectime.php