title: Java how to convert UK into java.util.Date
body: <p>I'm retrieving a date in a HTML form, and I need to convert the string date into a java.util.Date so that it can be inserted into a database.</p>
  
  <p>I've tried the following, but it always gives me a date in May 2008.</p>
  
  <pre><code>SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
  Date myDate = formatter.parse("27-11-2015");
  </code></pre>