I have a Python datetime object that I want to convert to unix time, or seconds/milliseconds since the 1970 epoch.
datetime
How do I do this?
Recommendedations from the Python 2.7 docs for the time module