title: Java : Convert string to Date
body: <p>i try to convert string to date , but when after the conversion the month is set to jan , but in input the month is other example 'sep' . following is my code.</p>
  
  <pre><code>Date tempDate = new SimpleDateFormat("mm/dd/yyyy").parse("09/12/2014");
  System.out.println("Current Date " +tempDate);
  </code></pre>
  
  <p>output : </p>
  
  <pre><code>Current Date Sun Jan 12 00:09:00 IST 2014
  </code></pre>