跳至内容
菜单
此问题已终结
1 回复
22805 查看
最佳答案

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.
形象
丢弃
相关帖文 回复 查看 活动
3
7月 23
27909
2
6月 22
6142
2
9月 21
5261
1
11月 20
8538
2
3月 19
6516