fecha1='10/25/04'; fecha2='10/15/05'; f1=new Date(fecha1); f2=new Date(fecha2); if (f1<f2) alert("f1 es menor que f2")