title: Converting a normal date to ISO-8601 format
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2573521/how-do-i-output-an-iso-8601-formatted-string-in-javascript">How do I output an ISO-8601 formatted string in Javascript?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a date like </p>
  
  <pre><code>Thu Jul 12 2012 01:20:46 GMT+0530
  </code></pre>
  
  <p>How can I convert it into ISO-8601 format like this</p>
  
  <pre><code>2012-07-12T01:20:46Z
  </code></pre>