title: Format date in jQuery
body: <pre><code>var date = "Fri Jan 29 2012 06:12:00 GMT+0100";
  </code></pre>
  
  <p>How can i show this in format <strong>2012-01-29 06:12</strong> ?
  In PHP is function ->format. In Javascript is also format, but if i try use this then i have error:</p>
  
  <p><strong>now.format is not a function</strong></p>
  
  <pre><code>var now = new Date();
  console.log(now.format("isoDateTime"));
  </code></pre>
  
  <p><a href="http://jsfiddle.net/6v9hD/" rel="noreferrer">http://jsfiddle.net/6v9hD/</a></p>
  
  <p>I would like receive format:  <strong>2012-01-29 06:12</strong></p>