Format page last modified date in PHP
Description
The following code shows how to format page last modified date.
Example
<?php/*from w w w . j av a 2 s .c o m*/
$lastmod = date('F d, Y h:i:sa', getlastmod());
echo "Page last modified on $lastmod";
?>
The code above generates the following result.