get_modification_date
get_modification_date($path,$time=false); - this function is used to get the date when the file was last modified
The function accepts parameters as input:
$path – path to the file to get the last modified date (string). It can be either absolute or relative (relative to the script folder).br>$time – with true function gives only the modification time of the file, and when false - only gives a modification date of the file (available from 4.6.12)
After testing, the function returns the result of its work to the script :
last modified date – the date of the last modification of the specified file (string) false – there is no such file (boolean)