title: SimpleDateFormat String
body: <p>I have this code block where argument to <code>dateFormat.format</code> will always be a <code>string</code> thats why I did <code>.toString()</code> here. I am getting error "Cannot format given Object as a Date".</p>
  
  <p>Is there any way to do this ? Note that string is coming from database I used new Date() as a sample here.</p>
  
  <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("MMMMM dd, yyyy");
  String sCertDate = dateFormat.format(new Date().toString());
  </code></pre>