Skip to Content
Menu
This question has been flagged
1 Atsakyti
7047 Rodiniai

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

Portretas
Atmesti
Autorius

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
geg. 25
354
2
kov. 25
918
0
vas. 25
649
0
vas. 25
719
0
vas. 25
755