KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to convert the string '2012-11-14 14:32:30' to datetime.datetime object via datetime.datetime.strptime method using format string '%Y-%m-%d %H:%M:%S' . Doing this, I get an error: ValueError: time data '%Y-%m-%d %H:%M:%S' does not match format '2012-11-14 14:32:30'
Tags (comma-separated)
Save Edits
Cancel