title: Change String date format and set into TextView in Android?
body: <p>I want to change my date format that is in as </p>
  
  <pre><code>String date ="29/07/13";
  </code></pre>
  
  <p>But it is showing me the error of <strong>*<em>Unparseable date: "29/07/2013"</strong> (at offset 2)</em>*
  I want to get  date in this format 29 Jul 2013.</p>
  
  <p>Here is my code that i am using to change the format.</p>
  
  <pre><code>tripDate = (TextView) findViewById(R.id.tripDate);
      SimpleDateFormat df = new SimpleDateFormat("MMM d, yyyy");
              try {
                  oneWayTripDate = df.parse(date);
              } catch (ParseException e) {
  
                  e.printStackTrace();
              }
              tripDate.setText(oneWayTripDate.toString());
  </code></pre>