title: Function like $.datepicker.formatDate for formatting time?
body: <p>With <code>$.datepicker.formatDate</code> I can only format a date, meaning if I pass in a Date object, I can only get the date part of it formatted but not the time part.</p>
  
  <p>Is there any equivalent function which allows the time part to also be formatted/parsed, preferably in the same syntax?</p>
  
  <p>I'm using the following datetime plugin:</p>
  
  <p><a href="https://github.com/eternicode/bootstrap-datepicker" rel="nofollow">https://github.com/eternicode/bootstrap-datepicker</a></p>
  
  <p>But it doesn't seem to have an equivalent formatDate function that I can use.</p>