filectime
Get the inode modification time of the file
filectime()
function returns the last inode modification time of the specified file.
This function returns the time when the file was last modified inode. If an error occurs, it returns false. Time is returned as a Unix timestamp.
<?php echo filectime ( "test.txt" ) ; echo "Last change: " . date ( "F d YH:i:s." , filetime ( "test.txt" ) ) ; ?>
Output:
1138609592 Last change: January 30 2006 09:26:32.
fileatime ( filename )
parameter | describe |
---|---|
filename | Required. Specify documents to be inspected. |