Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/08/2012, 20:06
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 18 años, 6 meses
Puntos: 56
Respuesta: intervalo de dias entre fechas

Código PHP:
function dateDiff ($d1$d2) {
  return 
round(abs(strtotime($d1)-strtotime($d2))/86400);

__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **