title: How to convert ISOString to date format dd/mm/yyyy using javascript
body: <p>I want to change the date to the format <code>dd/mm/yyyy</code> but I did not succeed. I tried something like this:</p>
  
  <pre><code>&lt;span class="postupdate"&gt;2015-03-01T14:28:28Z&lt;/span&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>$(function(){
      var d = $(".postupdate").html();
      var n = d.toLocaleDateString();
      d.html(n);
  }); 
  </code></pre>
  
  <p>but I do not know how to to change the date it with javascript or jquery. whether to use a regex to change that date?
  Can someone help me?</p>