Code: Select all
<?php
// Change to the name of the file
$last_modified = filemtime("thisfile.php");
// Display the results
// eg. Last modified Monday, 27th October, 2003 @ 02:59pm
print "Last modified " . date("l, dS F, Y @ h:ia", $last_modified);
?>