Python字符串转换成日期

Python字符串转换成日期:

from datetime import datetime
datetime.strptime('2022/05/20 21:16:18', '%Y/%m/%d %H:%M:%S')


标签: 、面试
  • 回复
隐藏