Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/05/2005, 04:41
Avatar de PMP
PMP
 
Fecha de Ingreso: febrero-2003
Ubicación: Chacabuco - Buenos Aires
Mensajes: 214
Antigüedad: 22 años, 2 meses
Puntos: 1
Otra forma de hacerlo sería:
Código:
function CambiarFecha(hora,tipo)

dia = Right("0" & Day(hora), 2)
mes = Right("0" & Month(hora), 2)
 
if tipo = 1 then 'español
      CambiarFecha =  dia & "/"& mes & "/" & year(hora) & " " & FormatDateTime(hora,3) 
else ' ingles
      CambiarFecha =  mes & "/"& dia & "/" & year(hora) & " " & FormatDateTime(hora,3) 
end if 
end function