Skip to Content
Menu
This question has been flagged
1 Atsakyti
22795 Rodiniai
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.
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
liep. 23
27894
2
birž. 22
6136
2
rugs. 21
5251
1
lapkr. 20
8521
2
kov. 19
6508