title: how to format 2013-05-15T10:00:00-07:00 to Date android
body: <p>I am trying to format the date string to Date, and then get the month/day from it:</p>
  
  <pre><code>String strDate="2013-05-15T10:00:00-07:00";
  SimpleDateFormat dateFormat = new SimpleDateFormat(
              "yyyy-MM-dd HH:mm:ss-z");
  
      Date convertedDate = new Date();
      try {
          convertedDate = dateFormat.parse(strDate);
      } catch (ParseException e) {
  
          e.printStackTrace();
      }
  
   SimpleDateFormat sdfmonth = new SimpleDateFormat("MM/dd");
          String monthday= sdfmonth.format(convertedDate);
  </code></pre>
  
  <p>but it returns me current month/day i.e 5/18. Whats wrong?</p>