跳至內容
選單
此問題已被標幟
2 回覆
3793 瀏覽次數

hello, 

How can i transform my date from : 1/05/2012 16:10:00    to  2012-05-01 16:10:00.0000 ? 

I would like change with a python code 

Thanks 

頭像
捨棄
最佳答案

Have you tried by changing language locale (Setting > Translation > Language and change date format

%Y-%m-%d

) ?

頭像
捨棄
最佳答案

Try this :

transfomation_date= datetime.now().date()


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 20
2220
3
12月 23
45617
1
3月 17
28842
python in v9 已解決
1
11月 15
6075
1
5月 24
1528