Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
22210 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
26212
2
jun. 22
5398
2
set. 21
4282
1
nov. 20
7548
2
mar. 19
5689