This question has been flagged
1 Reply
3663 Views

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

Avatar
Discard
Author

Thanks a lot for your response Ray.

I want to use my datetime field in an email sent by an automation. So, in my template, I use  ${object.x_date_heure}. But my datetime field is shown with another value (UTC time?). How can I put the correct time (local time) in my email?

Best Answer

A database does not have a timezone.  

Users interacting with a database have TimeZones.  All times are stored in UTC in a database.

See also https://www.odoo.com/forum/help-1/what-is-the-purpose-of-the-user-timezone-if-all-dates-displayed-in-odoo-are-based-on-system-time-106845

Avatar
Discard