Tengon in a variable the days of expiration and I have to make it show the days that are missing to win.
<?php
$fechaApertura = '02/08/2018';
$fechaVencimiento = '08/11/2018';
$dias = 6; //6 dias por vencer
$restaDias = $fechaVencimiento - $dias;
echo "Faltan ".$restaDias." dias para el vencimiento";
?>
What results in 2 days, but in reality there are still 6. I do not know how to do it and a thousand apologies for that.