Parse String date in (yyyy.MM.dd HH.mm.ss.S) format
<p>I want the Input string which is of pattern "yyyy.MM.dd HH.mm.ss.S" to be converted to Date.
The Input string is 1988.07.29 12:12:12.123</p>

<p>I have done it in the following way:</p>

<pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat(pattern);
Date date = dateFormat.parse(value);
</code></pre>

<p>I get ParseException saying the entered date is unparseable.</p>

<p>First Thing, does my pattern correspond to the Input string? If yes what am i doing wrong here?</p>