title: Convert date, datetime to timestamp
body: <p>How can I produce a timestamp to millisecond accuracy from a <code>date</code> or <code>datetime</code> in Python? </p>
  
  <p>There are an overwhelming number of methods and ways of doing this, and I'm wondering which is the most Pythonic way.</p>