title: How to print current date on python3?
body: <p>From what I gather, <a href="http://pleac.sourceforge.net/pleac_python/datesandtimes.html">here</a> (for example), this should print the current year in two digits</p>
  
  <pre><code>print (datetime.strftime("%y"))
  </code></pre>
  
  <p>However, I get this error </p>
  
  <pre><code>TypeError: descriptor 'strftime' requires a 'datetime.date' object but received a 'str'
  </code></pre>
  
  <p>So I tried to this</p>
  
  <pre><code>print (datetime.strftime(datetime.date()))
  </code></pre>
  
  <p>to get </p>
  
  <pre><code>TypeError: descriptor 'date' of 'datetime.datetime' object needs an argument
  </code></pre>
  
  <p>so I placed <code>"%y"</code> inside of thr <code>date()</code> above to get </p>
  
  <pre><code>TypeError: descriptor 'date' requires a 'datetime.datetime' object but received a 'str'
  </code></pre>
  
  <p>Which start to seem really loopy and fishy to me. </p>
  
  <p>What am I missing? </p>