If you want to display the last time the file was modified, you can use the following code.
Please replace “index.php” with the actual name of the file you are updating and choose the correct time zone

$filename = 'index.php';
if (file_exists($filename)) {
echo "Last updated " . date ("l d F Y H:i", filemtime($filename)). " CET";
} ?>


Leave a Reply

Your email address will not be published. Required fields are marked *