title: How parse 2013-03-13T20:59:31+0000 date string to Date
body: <p>How to parse this format date string <strong>2013-03-13T20:59:31+0000</strong> to Date object?</p>
  <p>I'm trying on this way but it doesn't work.</p>
  <pre><code>DateFormat df = new SimpleDateFormat(&quot;YYYY-MM-DDThh:mm:ssTZD&quot;);
  Date result =  df.parse(time);
                      
  </code></pre>
  <p>I get this exception from the first line:</p>
  <blockquote>
  <p>java.lang.IllegalArgumentException: Illegal pattern character 'T'</p>
  </blockquote>