I have this DateTime which is a str and I want to convert it into a datetime obj. What is the format?
2021-03-16 04:00:00
Right now I have:
format = 'yyyy-mm-dd mm:ss:ss'
But I am getting this error:
ValueError: time data '2021-03-16 04:00:00' does not match format 'yyyy-mm-dd mm:ss:ss'