title: DateFormat does not work?
body: <pre><code>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);
  </code></pre>
  
  <p>Basically when I print createdDate, it will display something like this :
  Thu Mar 08 00:00:00 CST 2012</p>
  
  <p>Instead of something of this format "yyyy-MM-dd". Thanks a bunch!</p>