title: change date format DD-MON-YYYY to DD/MM/YYYY
body: <p>I want to change date format which I received reading from excel cell file is "30-mar-2016" to 03/30/2016. I have tried below </p>
  
  <pre><code>     String inputDate = "30-mar-2016";
       DateFormat df = new SimpleDateFormat("mm/dd/yyyy");
       Date startDate;
       startDate = df.parse(inputDate);
  </code></pre>
  
  <p>It gave me- java.text.ParseException: Unparseable date: "30-mar-2016"
     .
  I also tried below code</p>
  
  <pre><code>     String inputDate = "30-mar-2016";
       DateFormat df = new SimpleDateFormat("mm/dd/yyyy");
       String startDate;
       startDate = df.format(inputDate);
  </code></pre>
  
  <p>getting   -- java.lang.IllegalArgumentException: Cannot format given Object as a Date</p>
  
  <p>Can anyone help me  .  </p>