please tell me how can i check in way in which start date should be less then end date
please tell me how can i check in way in which start date should be less then end date
$diff = strtotime(to date) - strtotime(from date);
$days = $diff / 60 / 60 / 24;
if answer could be positive, start date should be less from end date
how to validate it in yii 2 for client side