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