Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python ValueError in strptime()

from datetime import datetime

date_string = "12/11/2018"
date_object = datetime.strptime(date_string, "%d %m %Y")

print("date_object =", date_object)
 
PREVIOUS NEXT
Tagged: #Python #ValueError
ADD COMMENT
Topic
Name
7+4 =