How do I convert a string to a date object in python?

The string would be: "24052010" (corresponding to the format: "%d%m%Y")

I don’t want a datetime.datetime object, but rather a datetime.date.

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *