def utctotimestamp(dt):
    """
    Convert a timestamp to seconds

    >>> dt = datetime(2000, 1, 1)
    >>> utctotimestamp(dt)
    946684800.0

    >>> datetime.utcfromtimestamp(946684800)
    datetime.datetime(2000, 1, 1, 0, 0)
    """
    return total_seconds(epoch - dt)
dataset/ETHPy150Open blaze/blaze/blaze/compute/pydatetime.py/utctotimestamp/swapped operands of `-`