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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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()
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
apr 20
|
2233 | ||
|
3
dic 23
|
45652 | ||
|
1
mar 17
|
28864 | ||
python in v9
Risolto
|
|
1
nov 15
|
6111 | |
|
1
mag 24
|
1548 |