title: Format Date according to locale and then get the date part
body: <p>What I want to achieve is to convert a date in format <code>yyyyMMdd</code> to locale format i.e <code>yyyy/MM/dd</code> or <code>dd/MM/yyyy</code> etc. 
  I am not interested in the time part, I just require date.</p>
  
  <p>The function would take string date and return a string date in locale format.</p>
  
  <p>What I currently have is:</p>
  
  <pre><code>dateFormat = new SimpleDateFormat("yyyyMMdd", Locale.getDefault());
  convertedDate = dateFormat.parse("20120521");
  </code></pre>
  
  <p>Everything that I have tried after that either return me a long string with time and GMT etc, or the same string that I passed to the function.</p>