Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/05/2006, 01:27
Avatar de gorka_arai
gorka_arai
 
Fecha de Ingreso: octubre-2005
Mensajes: 281
Antigüedad: 19 años, 6 meses
Puntos: 1
Kaixo pablinff!!!
Supongo que tu server devolverá una fecha en formato yyyy/mm/dd, y como tú le pasas otro dd/mm/yyyy pos se hace la picha un lío.

Aquí tienes una función para pasar las fechas a un formato genérico:
Código:
<%
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
%>