Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
22782 Visualizações
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
jul. 23
27893
2
jun. 22
6132
2
set. 21
5248
1
nov. 20
8515
2
mar. 19
6508