def timestamp(date):
    """Get the timestamp of the `date`, python2/3 compatible

    :param datetime.datetime date: the utc date
    :return: the timestamp of the date
    :rtype: double

    """
    return (datetime(1970, 1, 1) - date).total_seconds()
dataset/ETHPy150Open Diaoul/subliminal/tests/test_video.py/timestamp/swapped operands of `-`