Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/11/2010, 08:13
Geovanny0401
 
Fecha de Ingreso: diciembre-2009
Mensajes: 137
Antigüedad: 14 años, 4 meses
Puntos: 4
Respuesta: formato de fecha

Hola franju

mira el codigo que tengo pero no me funciona porque toma la fecha actual
Código PHP:
SimpleDateFormat Fecha = new SimpleDateFormat("yyyyMMdd",Locale.getDefault());
        
Date fechaDate = new Date();
        
String fecha2 Fecha.format(fechaDate); 
aca tengo otro codigo pero me genera este error
Código HTML:
Cannot format given Object as a Date
y este es el codigo
Código PHP:
 SimpleDateFormat Fecha = new SimpleDateFormat("yyyyMMdd",Locale.getDefault());
Fecha.format(calendarFecha)); 
te agradezco la ayuda