Output the last time your script was updated : getlastmod « File Directory « PHP






Output the last time your script was updated

 
<?php
  echo date ("F d Y H:i:s.", getlastmod()) . "<br />"; //June 01 2005 20:07:48.
?>
  
  








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.Getting Times and Dates of Files