Getting Times and Dates of Files : getlastmod « File Directory « PHP






Getting Times and Dates of Files

 
<?php 

echo 'file was updated on ' . date('l d F Y, \a\t H:i:s T', getlastmod()) ; 

?>
  
  








Related examples in the same category

1.getlastmod.php
2.getlastmod() function returns the most recent modification date and time of the page
3.getlastmod() returns to you a Unix timestamp with the last modified date.
4.Output the last time your script was updated