title: Convert time to DateTime using moment js
body: <p>I have time in <code>HH:mm</code> format like <code>13:15</code>.  I want to convert it into <code>YYYY-MM-DD HH:mm</code> using moment.js .</p>
  
  <p>I tried the following code.</p>
  
  <pre><code>var t = "13:56"; 
  var cdt = moment(t).format('YYYY-MM-DD HH:mm');
  alert(cdt);
  </code></pre>
  
  <p>I wanted output with the current date and given time like <code>2015-21-05 13:56</code></p>