def parse_strtime(timestr, fmt=PERFECT_TIME_FORMAT):
    return datetime.datetime.strptime(timestr, fmt)
import script and get command line options.
dataset/ETHPy150Open openstack/python-monascaclient/monascaclient/openstack/common/timeutils.py/parse_strtime--crossover with--dataset/ETHPy150Open CGATOxford/cgat/tests/test_commandline.py/check_option