title: Unparseable date using DateFormat.parse()
body: <p>I followed a few other solutions on this site to this dilemma, and I do not have Joda Time installed, but I'm still at a loss as to why this is failing.</p>
  
  <p>I also tried removing the colons, as one solution stated, but that did not help.</p>
  
  <p><code>currentNode.getProperty("jcr:created").getString()</code> = <em>2013-03-07T11:57:08.596-05:00</em></p>
  
  <p>I get this error: <strong>java.text.ParseException: Unparseable date: "2013-03-07T11:57:08.596-05:00"</strong></p>
  
  <pre><code>&lt;%@page import="
      java.util.Date,
      java.text.SimpleDateFormat,
      java.text.DateFormat"
  %&gt;
  &lt;%
      DateFormat outputFormat = new SimpleDateFormat("MMMM dd, yyyy");
      DateFormat inputFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
      String currentDate = currentNode.getProperty("jcr:created").getString();
      Date date = inputFormat.parse(currentDate); // &lt;-- Failing here
      String currentDateString = outputFormat.format(date);
  %&gt;
  </code></pre>