How to get the last time the a file was changed in PHP

1 Answer

0 votes
/*
int filectime ( string $filename )
*/

echo "Last change time: ".date("F d Y H:i:s",filectime("e:/test.txt"));
    
/*
run:

Last change time: December 12 2015 11:39:34

*/

 



answered Dec 14, 2015 by avibootz

Related questions

2 answers 330 views
2 answers 238 views
2 answers 217 views
217 views asked Mar 24, 2021 by avibootz
1 answer 194 views
194 views asked Jun 17, 2016 by avibootz
2 answers 312 views
...