title: How to get only time value from Bootstrap datetimepicker
body: <p>In the code below, <code>StartTime</code> is <code>05/29/2017 1:00:00 PM</code>.</p>
  
  <p>But I want <code>StartTime</code> to be <code>1:00:00 PM</code>.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="form-group"&gt;
       &lt;label&gt;From&lt;/label&gt;
       &lt;input class="form-control " id="StartTime" type="text" name="StartTime"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <pre><code>$('#StartTime').datetimepicker({
      format: 'LT'
  });
  </code></pre>