java.text.ParseException: Unparseable date exception
<p>If I do <code>toString</code> on  a <code>Date</code> object, I am getting the output as below</p>

<pre><code>2016-04-13 22:00:01.0
</code></pre>

<p>I am doing the below to convert the object to Data again</p>

<pre><code>SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd:HH:mm:SS");
Date convertedDate = (Date) formatter.parse(timestamp.toString());
</code></pre>

<p>But getting the <code>ParseException</code>.</p>

<p>I am trying to get the output as Date object as below
2016-04-13 22:00:01</p>