19
Views
2
Comments
Problems with server date and local date

Hello everyone, I would like you to help me with this issue of the date, it is a frequently asked question and researched but no solution to my solution.

I created this example:
Estoy registrando el primero de abril a las 08:00
the user from the list sees it the same way with his time zone

pero en el server se visualiza otra hora


How do I ensure that the time recorded is not modified in the place it is?


The date they record is a UTC date, and it has to be displayed as UTC without modifications.



I hope you can help me.

thank you

modifiedDate.oap
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi LabCode,

In the OutSystems cloud versions all dates and times stored in the database are in UTC. In Reactive and mobile apps, they're shown in the browser's local time. If you need to display UTC time in a specific timezone that's not the local time, you'll need a Forge component like https://www.outsystems.com/forge/component-overview/2199/timezonereactiveutils-o11 

Regards,

Daniel

2019-08-15 04-27-35
LabCode

Thanks Daniel, and what function should I use if the date I am entering is a UTC time?
What I would like is for the same date that I enter from the input datetime to be recorded on the server regardless of my time zone, and when I show it in my list it is also displayed in the same way. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.