|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-03-08 12:47 UTC] fboudon at lemel dot fr
the function stat($file) must return an array with some date in it like the last modification date. But it return nine digit numbers. I work on win95 with php3.0.14, apache 1.3.9 and Mysql 3.22.29 Thanks PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 13 21:00:01 2026 UTC |
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]);