Parsing date string in Java of format [2012-07-15T20:55:33+00:00]
<p>Im trying to parse a String thats a date  "2012-07-15T20:55:33+00:00", however I keep getting illegal argument exception. I don't know what I'm doing wrong.</p>

<pre><code>SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-ddzHH:mm:SS+00:00"); 
String date = "2012-07-15T20:55:33+00:00";
Log.e("res",sdf.format(date));
</code></pre>

<p>Throws</p>

<pre><code>    07-15 12:37:28.436: E/AndroidRuntime(20985): FATAL EXCEPTION: main
07-15 12:37:28.436: E/AndroidRuntime(20985): java.lang.IllegalArgumentException
07-15 12:37:28.436: E/AndroidRuntime(20985):    at java.text.DateFormat.format(DateFormat.java:365)
07-15 12:37:28.436: E/AndroidRuntime(20985):    at java.text.Format.format(Format.java:93)
</code></pre>
