2012-11-14 13 views

cevap

18

doğru sözdizimi şöyledir:

datetime.strptime('2012-11-14 14:32:30', '%Y-%m-%d %H:%M:%S') 

yüzden ilk önce dize, biçimi.

Yüksek sesle oku:

ValueError: time data '%Y-%m-%d %H:%M:%S' does not match format '2012-11-14 14:32:30' 
ValueError: time data '2012-11-14 14:32:30' does not match format '%Y-%m-%d %H:%M:%S' 
+0

Oh, benim hatam. yardımın için teşekkürler. – Gasper

İlgili konular