Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
22819 Prikazi
Best Answer

Hello Giezel Esteves,

     Here is the python code to convert string to date.

        import datetime
        datetime.datetime.strptime('24052010', '%d%m%Y').date()
Here "24052010" is string.  you can pass a variable at here.
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jul. 23
27941
2
jun. 22
6148
2
sep. 21
5292
1
nov. 20
8556
2
mar. 19
6529