note 8948 added to filemtime
| From: | dr dot awe at telus dot net | Date: | Sun, 08 Oct 2000 08:34:32 +0000 |
| Subject: | note 8948 added to filemtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6210@lists.php.net to get a copy of this message | ||
instead of going
$timestamp = filemtime(string filename);
date ("__dateformat__", $timestamp);
try it all in one statement as example below,
date("m/d/y g:i:s A", filemtime($file));
Peace,
code | read
http://www.php.net/manual/function.filemtime.php