Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3714 Vizualizări

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 

Imagine profil
Abandonează
Cel mai bun răspuns

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

%Y-%m-%d

) ?

Imagine profil
Abandonează
Cel mai bun răspuns

Try this :

transfomation_date= datetime.now().date()


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
apr. 20
2155
3
dec. 23
45531
1
mar. 17
28743
1
nov. 15
5995
1
mai 24
1450