Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3757 Prikazi

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
Opusti
Best Answer

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

%Y-%m-%d

) ?

Avatar
Opusti
Best Answer

Try this :

transfomation_date= datetime.now().date()


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 20
2189
3
dec. 23
45566
1
mar. 17
28791
1
nov. 15
6029
1
maj 24
1482