File ctime may be a little misleading in nature as many would think it as the creation time of the file, but actually it’s the meta data such as the ownership or permissions change time of the file in addition to content modification. To get the ctime of a file in PHP:
$last = filectime('anyfile');
Aside from ctime, you may also want to learn about getting the atime and mtime 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 Modification Time of a File – File mtime
- PHP: Getting Last Accessed Time of a File – File atime
- Linux, PHP: Differences between File Modification Time: filemtime() and File Change Time: filectime()
- Linux: Find files changed or modified within 1 day or older than 1 day


Facebook
Twitter
Google Plus