Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/12/2012, 14:49
luis_anez44
 
Fecha de Ingreso: octubre-2012
Mensajes: 63
Antigüedad: 11 años, 6 meses
Puntos: 0
Respuesta: restar Fechas

amigo muchas gracias ya lo hice de verdad q me ayudastes mucho la solucion era asi

Código PHP:
 $Fecha=gmdate(" d/m/Y "strtotime($FechaVencimiento));
                                  
$Fecha2=gmdate(" d/m/Y "strtotime($FechaEFact));
                                  
$diferencia=strtotime($FechaVencimiento) - strtotime($FechaEFact);
                                  
$dias=($diferencia)/(24*3600); 
                                  
$Fecha3=$dias