Ptyhon date string to date object

Posted by elif on Stack Overflow See other posts from Stack Overflow or by elif
Published on 2010-05-10T15:22:12Z Indexed on 2010/05/10 15:24 UTC
Read the original article Hit count: 157

Filed under:
|

Hi all,

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 object.

I suspect that I'm asking a trivial question but I searched and couldn't find it neither on stackoverflow nor on google.

Thank you,

Elif

© Stack Overflow or respective owner

Related posts about python

Related posts about date