note 9336 added to date
| From: | designer at ricochet dot net | Date: | Sat, 28 Oct 2000 12:25:40 +0000 |
| Subject: | note 9336 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7122@lists.php.net to get a copy of this message | ||
To display the current page last modification date you could use:
<?php
$mod_date = date("M. dS, Y, H:i:s, T", filemtime("$SCRIPT_FILENAME"));
ECHO "<FONT SIZE=\"-2\">This page last modified:
$mod_date</FONT>\n";
?>
example output: This page last modified: Oct. 27th, 2000, 17:04:29, PDT
http://www.php.net/manual/function.date.php