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 455 views
2 answers 355 views
2 answers 341 views
341 views asked Mar 24, 2021 by avibootz
1 answer 270 views
270 views asked Jun 17, 2016 by avibootz
2 answers 441 views
...