dt = datetime.datetime.strptime(string_date, fmt)
fmt 的格式说明如下:
https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
2022-03-16 23:22:41
dt = datetime.datetime.strptime(string_date, fmt)
fmt 的格式说明如下:
https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior