title: Convert datetime since a given date to minutes
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2775864/python-datetime-to-unix-timestamp">Python datetime to Unix timestamp</a>  </p>
  </blockquote>
  
  
  
  <p>Is there a way to convert a <code>datetime</code> to <code>int</code>, representing the minutes since, for example, January 2012, so that this <code>int</code> can be modified, written to a database, compared and so on?
  EDIT:
  The server I am running this on uses Python 2.6.6</p>