import calendar


def get_timestamps(series):
    """
    Create a timestamp for every created_at date and set the seconds to zero.
    """
    return [1000 * calendar.timegm(d.created_at.replace(second=0).timetuple()) for d in series]