title: Parsing error for date field
body: <p>I want to parse a date in <code>YYYY-MM-DD</code> format to <code>YYYYMMDD</code>. If I use the following function, it returns me a <code>YYYYMMDD</code> format but with a different DD. i.E: <code>2013-05-16</code> BECOMES <code>20130515</code></p>
  
  <p>Apologies for sounding illiterate :) I am new to Java.</p>
  
  <p>Any help would be appreciated.   </p>
  
  <pre><code>String TestDate=yyyymmddParser.format(oLifEExtension.TestDate().getTime());
                      sb.append(TestDate)
  </code></pre>