Portfolio
Scripts and Websites I've made using PHP and MySQL mainly.
Snippets
Code snippets and mini tutorials
Contact
Contact me if you have any questions or queries
Home / Snippets / get_last_modification_of_file
This section is new and undergoing snippet addition, as of 13/6/11
Example Output: "Last Modified: 14.06.2011, 20:25:36"
This section is new and undergoing snippet addition, as of 13/6/11
Get Last Modification of File
$file = "file.php";
$fileStats = stat($file);
$lastModified = $fileStats['mtime'];
$lastModified = date("d.m.Y, H:i:s", $lastModified);
echo "Last Modified: " . $lastModified;
Example Output: "Last Modified: 14.06.2011, 20:25:36"
Comments
No Comments Have Been Made


