Help

0

How can I change the timezone of my database?

Avatar
Bernard Frédérick

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

1 Comment
Avatar
Discard
Avatar
Bernard Frédérick
-

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?

1 Answer
1
Avatar
Ray Carnes (ray)
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