Current Location: Home> Function Categories> filectime

filectime

Get the inode modification time of the file
Name:filectime
Category:File system
Programming Language:php
One-line Description:Returns the last time the file changed.

Definition and usage

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.

Example

 <?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.

grammar

 fileatime ( filename )
parameter describe
filename Required. Specify documents to be inspected.
Similar Functions
Popular Articles