OQL - Date Shows One Day Earlier?

0
Hi – I’m selecting a datetime attribute through OQL and storing it in a separate output entity. That attribute shows as one day earlier (in the receiving/stored entity) when I use OQL to select and store it? How can I get around this? Apply a date function to add 1 day?
asked
3 answers
1

Are your attributes using the same localize value?

answered
0

Exactly one day or 1 hour and therefore maybe one day earlier? F.e. At one place you use the utc time and the other place the session time which is in a different timezone?

answered
0

This is almost certainly a time localization issue. These links may be useful in understanding the situation better:

https://docs.mendix.com/refguide/date-and-time-handling

https://docs.mendix.com/refguide/datetime-handling-faq

answered