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()
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Apr 20
|
1383 | ||
|
3
Dec 23
|
43410 | ||
|
1
Mar 17
|
26998 | ||
python in v9
Solved
|
|
1
Nov 15
|
4805 | |
|
1
May 24
|
302 |