Answers for "filemtime($current_file_name);"

PHP
1

filemtime($current_file_name);

<?php
// outputs e.g.  somefile.txt was last modified: December 29 2002 22:16:23.

$filename = 'somefile.txt';
if (file_exists($filename)) {
    echo "$filename was last modified: " . date ("F d Y H:i:s.", filemtime($filename));
}
?>
Posted by: Guest on August-03-2020

Code answers related to "filemtime($current_file_name);"

Browse Popular Code Answers by Language