title: Issue splitting datetime - 'str' object has no attribute 'strptime'
body: <p>I'm trying to split datetime... it works well to store date but I get an error whenever I try and store time.</p>
  
  <p>The following code works:</p>
  
  <pre><code>datetime =  tweet.date.encode( 'ascii', 'ignore')
  struct_date = time.strptime(datetime, "%a, %d %b %Y %H:%M:%S +0000")
  date = time.strftime("%m/%d/%Y")
  </code></pre>
  
  <p>But if I add the following line, I get an error:  </p>
  
  <pre><code>  time = time.strftime("%H:%M:%S")
  </code></pre>
  
  <p>AttributeError: 'str' object has no attribute 'strptime'</p>