def epoch_for_day(day):

    day_dt = datetime.datetime.combine(day, datetime.time(tzinfo=pytz.utc))
    return epoch_for_datetime(day_dt)
converts a given datetime.date to UNIX epoch time in seconds
dataset/ETHPy150Open ahmetalpbalkan/personal-dashboard/tasks/__init__.py/epoch_for_day