Ver Mensaje Individual
  #10 (permalink)  
Antiguo 19/02/2010, 16:01
KYMMMMM
 
Fecha de Ingreso: febrero-2010
Mensajes: 1
Antigüedad: 14 años, 3 meses
Puntos: 0
Respuesta: Agregar Un 0 Al Mes 1 De Un Calendario?

Hola cambia la funcion
function fSetDate(iYear, iMonth, iDay){
gdCtrl.value = iYear+"-"+iMonth+"-"+iDay; //Here, you could modify the locale as you need !!!!
VicPopCal.style.visibility = "hidden";
}


por
function fSetDate(iYear, iMonth, iDay){
if (iDay < 10) iDay = "0"+iDay;
if (iMonth < 10) iMonth = "0"+iMonth;
gdCtrl.value = iDay+"/"+iMonth+"/"+iYear; //Here, you could modify the locale as you need !!!!
VicPopCal.style.visibility = "hidden";
}
// Escribe en tu input tipo text el formato de fecha 01/02/2010, si deseas cambiarlo lo puedes hacer intercambiando las variables iDay, iMonth y Year..
//Se que es un poco tarde, para la persona que pregunto, pero espero le sirva a alguien mas....