1, ]);*/ //$models=Riwayatpangkat::find()->all(); $models = Riwayatpangkat::find() ->where("datediff( DATE_ADD(tmtgol, INTERVAL 4 year),current_date())" < 30) ->all(); /* $this->render('pendidikan',[ 'model' => $models ]);*/ return $this->render('pangkat',[ 'model' => $models ]); } } ?>