dt = datetime.datetime.strptime(string_date, fmt)
fmt 的格式说明如下:
https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
时间: 2024-10-23 07:22:59
dt = datetime.datetime.strptime(string_date, fmt)
fmt 的格式说明如下:
https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior