public static function changeDate(String $file, String $type = 'd.m.Y G:i:s') : String
    {
        $file = self::rpath($file);

        if( ! file_exists($file) )
        {
            throw new Exception\FileNotFoundException(NULL, $file);
        }

        $date = filemtime($file);

        return date($type, $date);
    }
public static function changeDate(String $file, String $type = 'd.m.Y G:i:s') : String
    {
        $file = self::rpath($file);

        if( ! file_exists($file) )
        {
            throw new Exception\FileNotFoundException(NULL, $file);
        }

        $date = filemtime($file);

        return date($type, $date);
    }
public static function changeDate ( String $ file , String $ type = 'd.m.Y G:i:s' ) : String { $ file = self :: rpath ( $ file ) ; if ( ! file_exists ( $ file ) ) { throw new Exception \ FileNotFoundException ( NULL , $ file ) ; } $ date = filemtime ( $ file ) ; return date ( $ type , $ date ) ; }
Get change date

@param string $file
@param string $type = 'd.m.Y G:i:s'

@return string
Get change date