Page Last Updated Tutorial

PHP Code

To format the date for the PHP code (for use on .php pages), use the chart at PHP.net.

<?php
echo "Page Last Updated: " . date("F j, Y, g:i a", getlastmod());
?>

SSI Code

To format the date for the SSI code (for use on .shtml pages), use the chart at HTML Goodies.

Page Last Updated:
<!--#config timefmt="%B %d, %Y, %l:%M %p" --><!--#echo var="LAST_MODIFIED"-->

HTML Code

To format the date for the HTML code (for use on .html pages), use the chart at HTML Goodies.

Page Last Updated:
<!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%B %d, %Y, %l:%M %p" -->