Skip to Content
मेन्यू
This question has been flagged
2 Replies
3662 Views

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 

Avatar
Discard
Best Answer

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

%Y-%m-%d

) ?

Avatar
Discard
Best Answer

Try this :

transfomation_date= datetime.now().date()


Avatar
Discard
Related Posts Replies Views Activity
0
अप्रैल 20
2094
3
दिस॰ 23
45425
1
मार्च 17
28644
1
नव॰ 15
5906
1
मई 24
1349