import calendar


def datetime_to_unix(utc_datetime):
    return int(calendar.timegm(utc_datetime.timetuple()))

eccb3fb0499903e711d8a169a8e44d17e05b25fe
<mask token>

<mask token>


def datetime_to_unix(utc_datetime):
    return int(calendar.timegm(utc_datetime.timetuple()))

import calendar


def datetime_to_unix(utc_datetime):
    return int(calendar.timegm(utc_datetime.timetuple()))
