title: How to get current time in the format 2009-12-24 14:20:57 in javascript?
body: <p>I'm not familiar with time operations in javascript.</p>
  
  <p>I tried <code>new Date();</code> which gives the result in wrong format:</p>
  
  <blockquote>
    <p>Thu Dec 24 2009 14:24:06 GMT+0800</p>
  </blockquote>
  
  <p>How to get the time in format of <code>2009-12-24 14:20:57</code>？</p>