title: how to create Date object from String value
body: <p>When running through the below code I am getting  an <code>UNPARSABLE DATE EXCEPTION</code>.</p>
  
  <p>How do I fix this?</p>
  
  <pre><code>   package dateWork;
  
      import java.text.DateFormat;
      import java.text.ParseException;
      import java.text.SimpleDateFormat;
      import java.util.Date;
  
      public class DateCreation {
  
          /**
           * @param args
           */
          public static void main(String[] args) {
  
              String startDateString = "2013-03-26";
              DateFormat df = new SimpleDateFormat("yyyy/MM/dd"); 
              Date startDate=null;
              String newDateString = null;
              try 
              {
                  startDate = df.parse(startDateString);
                  newDateString = df.format(startDate);
                  System.out.println(startDate);
              } catch (ParseException e) 
              {
                  e.printStackTrace();
              }
          }
  
      }
  </code></pre>