getlastmod.php : getlastmod « File Directory « PHP



$lastmod = date("F d, Y h:i:sa", getlastmod());
echo "Page last modified on $lastmod";


Related examples in the same category

1.getlastmod() function returns the most recent modification date and time of the page
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