getlastmod() function returns the most recent modification date and time of the page : getlastmod « File Directory « PHP






getlastmod() function returns the most recent modification date and time of the page

 
The syntax: int getlastmod (void)

<?
    echo "Last modified: ".date( "H:i:s a", getlastmod() );
?>
  
  








Related examples in the same category

1.getlastmod.php
2.getlastmod() returns to you a Unix timestamp with the last modified date.
3.Getting Times and Dates of Files
4.Output the last time your script was updated