title: Convert datetime to time in python
body: <p>I have:</p>
  <pre><code>test_date = &quot;2017-07-20-10-30&quot;
  </code></pre>
  <p>and then use:</p>
  <pre><code>day = datetime.strptime(test_date[11:], &quot;%H-%M&quot;)
  </code></pre>
  <p>which gives me</p>
  <pre><code>1900-01-01 10:30:00
  </code></pre>
  <p>How do I just get: <code>10:30:00</code> as type <code>datetime.time</code>?</p>