Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/04/2003, 12:55
Avatar de buliwyf
buliwyf
 
Fecha de Ingreso: diciembre-2001
Ubicación: Caracas
Mensajes: 221
Antigüedad: 23 años, 5 meses
Puntos: 1
Quiza no es la mejor solucion, pero de momento se me ocurre esto:
<%
fecha_1 = "15/4/2000"
fecha_2 = "16/6/2004"

if abs(DateDiff("d",fecha_1,date)) < abs(DateDiff("d",fecha_2,date)) then
response.write fecha_1 &" es mas proximo que " & fecha_2
else
response.write fecha_2 &" es mas proximo que " & fecha_1
end if
%>
__________________
RTFM antes de preguntar...