📅  最后修改于: 2022-03-11 14:45:24.657000             🧑  作者: Mango
# pip install python-dateutil
from dateutil import parser
ds = '2012-03-01T10:00:00Z' # or any date sting of differing formats.
date = parser.parse(ds)