Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
22150 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
26022
2
jun 22
5264
2
sept 21
4127
1
nov 20
7372
2
mar 19
5545