Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
22810 Vistas
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 23
27913
2
jun 22
6142
2
sept 21
5263
1
nov 20
8541
2
mar 19
6517