by Oscar M
Often times it’s good to keep track of the file’s (page) last modified information and display it as part of the published web page.
To display the text below with just one line of code.
Last modified: April 11, 2003 1:24:08 PM EST.
The PHP code would be
<?php echo "Last modified: ".date("F d, Y g:i:s A T.", getlastmod()); ?>