def parse_strtime(timestr, fmt=PERFECT_TIME_FORMAT):
    return datetime.datetime.strptime(timestr, fmt)
Turn a formatted time back into a datetime.
dataset/ETHPy150Open openstack/python-monascaclient/monascaclient/openstack/common/timeutils.py/parse_strtime