Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/11/2010, 19:48
glory82
 
Fecha de Ingreso: febrero-2007
Mensajes: 139
Antigüedad: 17 años, 3 meses
Puntos: 0
Respuesta: Comparar fechas SQL Vs ASP

Salu2,

Buscando encontre esta funcioncita para dar formato (http://www.soloasp.com.ar/vertexto.asp?txt=24):

<%
Function FechaGenerica(fecha)
If IsDate(fecha) = True Then
DIM dteDay, dteMonth, dteYear
dia = Day(fecha)
mes = Month(fecha)
ano = Year(fecha)
FechaGenerica = ano & "/" & Right(Cstr(mes + 100),2) & "/" & Right(Cstr(dia + 100),2)
Else
FechaGenerica = Null
End If
End Function
%>

Me funciono excelente!!!