Skip to Content
Menu
This question has been flagged
2 Replies
3609 Rodiniai

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 

Portretas
Atmesti
Best Answer

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

%Y-%m-%d

) ?

Portretas
Atmesti
Best Answer

Try this :

transfomation_date= datetime.now().date()


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
bal. 20
2041
3
gruod. 23
45305
1
kov. 17
28541
1
lapkr. 15
5840
1
geg. 24
1226