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()
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
kwi 20
|
2045 | ||
How to verify that a field date is empty?
Rozwiązane
|
|
3
gru 23
|
45311 | |
Format language date_format '%B' in python
Rozwiązane
|
|
1
mar 17
|
28544 | |
python in v9
Rozwiązane
|
|
1
lis 15
|
5845 | |
|
1
maj 24
|
1228 |