function for creating modification time of file in php
snippet in php

function for creating modification time of file in php

user1135

Using filemtime() function we can get the time of file modification.
Example
Get the last time the file content was modified:

<?php
echo filemtime("webdictionary.txt");
echo "<br>";
echo "Content last changed: ".date("F d Y H:i:s.", filemtime("webdictionary.txt"));
?>