Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
22401 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
26829
2
jun 22
5637
2
sept 21
4533
1
nov 20
7885
2
mar 19
5995