note 9560 deleted from function.stat by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 01 Sep 2004 17:28:12 +0000 |
| Subject: | note 9560 deleted from function.stat by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75858@lists.php.net to get a copy of this message | ||
Note Submitter: ngreen at neilsmachine dot com
----
When you get a time from stat, like the date modified, you'll get a timestamp returned. You
can use date() to convert it into a human readable format:
$modified = stat("yourfile.html");
echo date("l, F dS",$modified[9]);