title: how to convert mm/dd/yyyy to yyyy-mm-dd in java
body: <p>i am getting input date as String into mm/dd/yyyy and want to convert it into yyyy-mm-dd
  i try out this code</p>
  
  <pre><code>Date Dob = new SimpleDateFormat("yyyy-mm-dd").parse(request.getParameter("dtDOB"));
  </code></pre>