def epoch_for_datetime(dt):

    epoch = datetime.datetime(1970, 1, 1, tzinfo=pytz.utc)
    return int((dt - epoch).total_seconds())
Rewrite a Union in terms of equalities and logic operators.
dataset/ETHPy150Open ahmetalpbalkan/personal-dashboard/tasks/__init__.py/epoch_for_datetime--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/Union.as_relational