title: How to parse date to EEE MMM dd HH:mm:ss zzz yyyy format?
body: <p>I am getting date from database as <code>2013-05-03 00:20:29.0</code>. I want to parse the date to <code>EEE MMM dd HH:mm:ss zzz yyyy</code> format, but when I am parsing it, I am getting this exception:</p>
  
  <p><code>java.text.ParseException: Unparseable date: "2013-05-03 00:20:29.0"</code></p>
  
  <p>My code is below:</p>
  
  <pre><code>    String createdDate = "2013-05-03 00:20:29.0";
      SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy");
      Date parseDate = format.parse(createdDate);
  </code></pre>