An example on how to use the filemtime() function to retrieve the last update date and time of a file.
1. <?php
2. $LastUpdated = filemtime("File.php");
3. echo "Last updated: ".date("l dS \of F Y h:i:s A", $LastUpdated);
4. ?>
An example on how to use the filemtime() function to retrieve the last update date and time of a file.
1. <?php
2. $LastUpdated = filemtime("File.php");
3. echo "Last updated: ".date("l dS \of F Y h:i:s A", $LastUpdated);
4. ?>