title: How do I get the current time only in JavaScript
body: <p>How can I get the current time in JavaScript and use it in a timepicker?</p>
  
  <p>I tried <code>var x = Date()</code> and got: </p>
  
  <blockquote>
    <p>Tue May 15 2012 05:45:40 GMT-0500</p>
  </blockquote>
  
  <p>But I need only current time, for example, <code>05:45</code></p>
  
  <p>How can I assign this to a variable?</p>