Hello guys,
I need help with the following question. I have the following function,
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
I intend that when today’s date is equal to 2022-08-01, the function is no longer executed, showing a message of the type “Date exceeded to execute the function”.
Thank you so much…