title: Adding a second to datetime using javascript
body: <p>How to add a second to a date in below format in Javascript?</p>
  
  <pre><code>x = '2015-05-23 11:20:33';
  
  setInterval(function () {
    console.log(x+1);  //Looking something in this place to add a second and show in the same format
  }, 1000); 
  </code></pre>