from datetime import datetime


def get_utc_dt(event_time):
    """Takes a UTC time from API and returns a datetime object"""
    return datetime.strptime(event_time['data']['attributes']['starts_at'],
                               '%Y-%m-%dT%H:%M:%SZ')