hi, im coding a project, and i want to be able to determine when was the last time a certain php file was updated so i can updated. for example

$filname = mywebs.php

if(date > today){
updatefile;
}else{
Do not update file;
}