import time
temp_time ='2006-11-06T09:49:43.000+08:00'
time.strftime("%Y-%m-%d %H:%M:%S",temp_time)
我收到如下错误:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-17-97b64e318f17> in <module>()
1 import time
2 temp_time ='2006-11-06T09:49:43.000+08:00'
----> 3 time.strftime("%Y-%m-%d %H:%M:%S",temp_time)
TypeError: Tuple or struct_time argument required
\任何帮助将不胜感激。
陪伴而非守候
相关分类