Mega Code Archive

 
Categories / Php / Form
 

Getting Times and Dates of Files

<?php  $lastmod = filemtime($_SERVER['SCRIPT_FILENAME']);  echo 'file was updated on ' . date('l d F Y, \a\t H:i:s T', $lastmod);  ?>