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 459 views
2 answers 357 views
2 answers 348 views
348 views asked Mar 24, 2021 by avibootz
1 answer 278 views
278 views asked Jun 17, 2016 by avibootz
2 answers 446 views
...