PHP filemtime() Function

The filemtime() function returns the last time the file content was modified.This function returns the last change time as a Unix timestamp on success, FALSE on failure.

int filemtime ( string $filename )

This function returns the time when the data blocks of a file were being written to, that is, the time when the content of the file was changed.

Example -

ParameterDescription
filenameRequired. Specifies the file to check