Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/08/2003, 08:56
Avatar de Beakdan
Beakdan
 
Fecha de Ingreso: diciembre-2001
Ubicación: Monterrey, Nuevo León
Mensajes: 433
Antigüedad: 23 años, 1 mes
Puntos: 7
Joseline:

Puedes usar el método Parse del objeto Date:

Código:
<html>
 <head>
   <script language="JavaScript">
      //Fecha en formato mm/dd/aa
      strFecha = "01/17/1978";
      fecha = new Date();
      fecha.setTime(Date.parse(strFecha));
      alert(fecha);
   </script>
 </head>
 <body>
 </body>
</html>
Saludos.