If I have a datetime object like
datetime.datetime(2016,4,5,10,4,7,000)
How would I convert it to unix timestamp with millisecond accuracy?
I am using python version 2.7.10. The solution here (How can I convert a datetime object to milliseconds since epoch (unix time) in Python?) using total_seconds seems to round to the nearest second on my system.