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 318 views
2 answers 229 views
2 answers 203 views
203 views asked Mar 24, 2021 by avibootz
1 answer 186 views
186 views asked Jun 17, 2016 by avibootz
2 answers 301 views
...