title: 'datetime.datetime' object has no attribute 'read'
body: <p>Users in my app have date_joined fields that are in this format: <code>2014-12-14 14:46:43.379518+00:00</code></p>
  
  <p>In order to pass this datetime along to Intercom.io, it must be a UNIX timestamp like this: <code>1426020706</code> (this is not the same time, just an example).</p>
  
  <p>I've tried several methods I've read here on Stack Overflow (nothing in this question has the same starting time format: <a href="https://stackoverflow.com/questions/8777753/converting-datetime-date-to-utc-timestamp-in-python">Converting datetime.date to UTC timestamp in Python</a>), but none have worked. mktime() seemed promising, but I got "'datetime.datetime' object has no attribute 'mktime'."</p>
  
  <p>I just tried this:</p>
  
  <pre><code>import time
  import dateutil.parser
  import member.models import Member
  
  member = Member.objects.get(email="aspeksnijder@outlook.com")
  date_joined = member.date_joined
  dt = dateutil.parser.parse(date_joined)
  print int(time.mktime(dt.timetuple()))
  </code></pre>
  
  <p>It returned "'datetime.datetime' object has no attribute 'read'". How can I accomplish this?</p>