Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/01/2007, 11:50
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Re: Sumar dias habiles a fecha actual

Hola losporros

Prueba este código:

Código PHP:
hoy = new Date();
i=0;
while (
i<3) {
  
hoy.setTime(hoy.getTime()+24*60*60*1000); // añadimos 1 día
  
if (hoy.getDay() != && hoy.getDay() != 0)
    
i++;  
}
fecha hoy.getDate()+ '/' hoy.getMonth()+'/' hoy.getFullYear();
document.write(fecha); 
Saludos,