How to convert a Python datetime object to seconds,"(t - datetime.datetime(1970, 1, 1)).total_seconds()"