converting 2012-07-04T17:30:52+00:00 to 2012-07-04T17:30:52Z
<p>as far as I know both<br> <code>2012-07-04T17:30:52+00:00</code> and<br> <code>2012-07-04T17:30:52Z</code> are dates in <strong>iso8601</strong> format with time zone UTC.</p>

<p>I am using prettyDate jquery plugin. It accepts date only in the format <code>2012-07-04T17:30:52Z</code></p>

<p>i am getting dates in the format <code>2012-07-04T17:30:52+00:00</code> as a response from json</p>

<p>so how can i convert <code>2012-07-04T17:30:52+00:00</code> to <code>2012-07-04T17:30:52Z</code> using javascript or jquery.</p>
