title: TypeError: descriptor 'strftime' requires a 'datetime.date' object but received a 'Text'
body: <p>I have a variable <code>testeddate</code> which has a date in text format like 4/25/2015. I am trying convert it to <code>%Y-%m-%d %H:%M:%S</code> as follows:</p>
  
  <pre><code>dt_str = datetime.strftime(testeddate,'%Y-%m-%d %H:%M:%S')
  </code></pre>
  
  <p>but I am running into this error:</p>
  
  <pre><code>TypeError: descriptor 'strftime' requires a 'datetime.date' object but received a 'Text'
  </code></pre>
  
  <p>How do I resolve this?</p>