File modification date/time

 
<?php

$filemtime = filemtime($file_fullpathname); // last time a file has been modified

$filectime = filectime($file_fullpathname); // last time a file has been modified, 
                                            // or its permissions has changed, etc

?>

 

Related Snippets

•  Read folder contents recursively and store it in an array
•  Read folder contents and store it in an array