python date time get the current time but with seconds and hour and minute
<p>I am able to get the current time as this:</p>

<pre><code>import datetime
str(datetime.date.today().strftime("%Y-%m-%d"))
</code></pre>

<p>that prints</p>

<blockquote>
  <p>2016-06-26</p>
</blockquote>

<p>but i need to add the minutes and seconds and hour</p>

<p>i search on internet and people are suggesting using this:</p>

<pre><code>str(datetime.date.today().strftime("%Y-%m-%d %H:%M"));
</code></pre>

<p>but actually the <code>%H:%M</code> returns <code>00:00</code> always</p>

<p>can you help ?</p>