src/MvcError.php
public function date($val, $id) {
        if (chkdate($val) === false) {
            $this->add($id, 'Please enter a valid date');
            return false;
        }

        return true;
    }
public function date($val, $id) {
        if (chkdate($val) === false) {
            $this->add($id, 'Please enter a valid date');
            return false;
        }

        return true;
    }
public function date ( $ val , $ id ) { if ( chkdate ( $ val ) === false ) { $ this -> add ( $ id , 'Please enter a valid date' ) ; return false ; } return true ; }
Is a string a parseable and valid date?
Is a string a parseable and valid date?