filemtime.php : filemtime « File Directory « PHP






filemtime.php

 
<?php
   $file = "data.txt";
   echo "File last updated: ".date("m-d-y  g:i:sa", filemtime($file));
?>
  
  








Related examples in the same category

1.Getting file timestamps
2.discover the modification date of a file with the function filemtime()