File mtime is the last modified time of the file or the time when the last modification of the file content occurred. To get the last modified time of the file in PHP, use:
$last = filemtime('anyfile');
Read more about how to get the ctime and atime in PHP.
You should also read:
- Linux: The differences between file times: atime (accessed time), ctime (changed time) and mtime (modified time).
- PHP: Getting Last Changed Time of a File – File ctime
- Linux, PHP: Differences between File Modification Time: filemtime() and File Change Time: filectime()
- PHP: Getting Last Accessed Time of a File – File atime
- Linux: Find files changed or modified within 1 day or older than 1 day


Facebook
Twitter
Google Plus
{ 1 trackback }