Getting Date Information About a File : fileatime « File Directory « PHP






Getting Date Information About a File

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








Related examples in the same category

1.fileatime.php