DateFormat no funciona?

String selectedDate = "2012-" + createdMonth + "-" + createdDay;

SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");

try {
    createdDate = dateFormat.parse(selectedDate);
} catch (ParseException e1) {
    e1.printStackTrace();
}

System.out.println(createdDate);

Básicamente, cuando imprima CreatedDate, se mostrará algo como esto: Thu Mar 08 00:00:00 CST 2012

En lugar de algo de este formato "yyyy-MM-dd". ¡Gracias un montón!

Respuestas a la pregunta(4)

Su respuesta a la pregunta