Gen. partnerAlgotech

PHP function filemtime()

Gets file modification time

|
September 11, 2019

Availability in PHP 4.0

Gets file modification time

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

int

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

Other resources

Official filetime function documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.