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 328 views
2 answers 237 views
2 answers 211 views
211 views asked Mar 24, 2021 by avibootz
1 answer 192 views
192 views asked Jun 17, 2016 by avibootz
2 answers 310 views
...