Skip to Content
Menu
This question has been flagged
1 Reply
4973 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
Related Posts Replies Views Activity
0
Dec 24
36
1
Sep 24
717
1
Sep 24
141
0
Aug 24
120
1
Apr 24
7152