from datetime import datetime


def cvt_time(dt_str):
    """Convert time in Garmin GPX files to datatime"""
    # Note, these timestamps don't include time zones
    return datetime.strptime(dt_str, '%Y-%m-%dT%H:%M:%S.%fZ')