def datetime_to_timestamp(dateTime):
 diff = (as_utc(dateTime) - epoch_utc)
 return diff.total_seconds()

def datetime_to_timestamp ( dateTime ) : diff = ( as_utc ( dateTime ) - epoch_utc ) return diff . total_seconds ( )
convert a datetime into a utc float timestamp .