I have a variable that is 18:00:00 bone at 6:00:00 pm and I want to add another 19:30:00 hours so that the resulting variable is 1:30 pm but the next day. To then generate a condition with that new resulting variable: for example that such hour is greater than the variable that contains 1:30 pm.
$hora5=("18:00:00");
$horali=date($hora5);
$horalimite2=date('H:i:s', strtotime($horali.' +19 hours'.' +30 minutes'));
echo $horalimite2;
if($hentrega>$horalimite2)