Bug #3772 Updated: the function stat($file) don't return any date
| From: | Bug Database | Date: | Wed, 08 Mar 2000 19:14:04 +0000 |
| Subject: | Bug #3772 Updated: the function stat($file) don't return any date | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16549@lists.php.net to get a copy of this message | ||
ID: 3772
Updated by: joey
Reported By: fboudon@lemel.fr
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
The date is given as a unix timestamp.
Try passing it as the timestamp arg to date...ie
$stat = stat("somefile.txt");
$mod_date = date("D-M-Y", $stat[9]);
Full Bug description available at: http://bugs.php.net/?id=3772