Validator for yii2 allows you to compare dates.