import time


def utc_to_epoch(utc):
    """
    Take UTC formatted date and return it in
    millisecond accurate epoch time.
    """
    timeformat = '%Y-%m-%d %H:%M:%S+00'
    return int(time.mktime(time.strptime(utc, timeformat)) * 1000)