Odoo Help

Welcome!

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.

0

Can OpenERP store date in ISO (8601) format?

By
Joel Cabral
on 5/17/13, 9:40 AM 962 views

Is the database able to store datetime in ISO format?

2007-06-20T12:34:40+03:00

0

Daniel Reis

--Daniel Reis--
3436
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt


Daniel Reis
On 5/17/13, 10:21 AM

If I understood you correctly:

OpenERP stores dates using the date datatype, with UTC timezone. The date format is not relevant for the database storage; it's only relevant when you convert a date to a text representation.

ORM returns the date from the database in ISO format. Clients get to use that or reformat based on whatever they want.

Bista Solutions US, Ray Carnes
on 5/17/13, 2:31 PM

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

0 follower(s)

Stats

Asked: 5/17/13, 9:40 AM
Seen: 962 times
Last updated: 3/16/15, 8:10 AM