Tutorial Get File Last Updated Date

/* * @param string $file Filepath * @param string $format dateformat * @link http://www.php.net/manual/de/function.date.php * @link http...

/*
* @param string $file Filepath
* @param string $format dateformat
* @link http://www.php.net/manual/de/function.date.php
* @link http://www.php.net/manual/de/function.filemtime.php
* @return string|bool Date or Boolean
*/

function getFiledate($file, $format) {
if (is_file($file)) {
$filePath = $file;
if (!realpath($filePath)) {

Hot in Week

Popular

Archive

item