yii2 validator is not calling

why this is not calling

in model rules

[start_date,validedate]

public function validdate($attribute,$param){

$this->addError($attribute, ‘Incorrect username or password.’);

}

You spelt the name of the function wrong:

validedate

validdate