Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


transformation of date

Coralie Cardon
on 2/15/16, 5:38 AM 291 views


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 


Pinakin Nayi (pna)
On 3/28/16, 9:00 AM

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


) ?

badr elmar
On 3/28/16, 8:50 AM

Try this :

transfomation_date= datetime.now().date()

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/15/16, 5:38 AM
Seen: 291 times
Last updated: 3/28/16, 9:00 AM