跳至內容
選單
此問題已被標幟
1 回覆
22784 瀏覽次數
最佳答案

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
27893
2
6月 22
6132
2
9月 21
5248
1
11月 20
8516
2
3月 19
6508