note 26283 added to function.filectime

From: Date: Fri, 25 Oct 2002 01:12:49 +0000
Subject: note 26283 added to function.filectime
Groups: php.notes 
Request: Send a blank email to php-notes+get-38523@lists.php.net to get a copy of this message
If you want to put a "Last Updated on" on your page, try this: $s = filectime("/var/www/html/test.php"); $chg = date("F j, Y", $s); echo("Updated on " . $chg . "\n"); the $chg = ... is the line that changes the filectime to a normal, readable date. Try looking at the date function to customize this. -- http://www.php.net/manual/en/function.filectime.php http://master.php.net/manage/user-notes.php?action=edit+26283 http://master.php.net/manage/user-notes.php?action=delete+26283 http://master.php.net/manage/user-notes.php?action=reject+26283

« previous php.notes (#38523) next »