Menu Samaritan's Purse

FILEMTIME

Gets file modification time

SYNTAX

filemtime ( string $filename ) : int

PARAMETERS

filename

Path to the file.

RETURN

Returns the time the file was last modified, or FALSE on failure. The time is returned as a Unix timestamp, which is suitable for the date() function.

EXAMPLES

1

1603232541

2

last modified: 2020-10-20 22:22:21

INTERNAL

fileatime

filectime

EXTERNAL

PHP