title: how to get formatted date time like 2009-05-29 21:55:57 using javascript?
body: <p>when using new Date,I get something like follows:</p>
  
  <p>Fri May 29 2009 22:39:02 GMT+0800 (China Standard Time)</p>
  
  <p>but what I want is xxxx-xx-xx xx:xx:xx formatted time string</p>