Format date function changes the time

Hi everyone, I noticed that in my application when I apply the formatDate function to a sql datetime field the time is changed by moving it forward by 1 hour.

Screenshot 2024-01-10 153656

Screenshot 2024-01-10 153815

Where do you apply this formatting to exactly?
Also - have you tried the solution from here: Edit Calendar Event ?

In this case I apply it in the calendar detail but this happens throughout the application every time I apply date formatting.
In the screenshot the example of a datetime field in a popup, As you can see in the DB the data is correct

3

So that’s not related to the calendar date and time but general date and time formatting on your pages?
What server model are you using?

Yes exactly it’s a problem in the whole application, I’m using node.js
Is there any additional parameter I can set in the formatDate function?

I noticed that the time does not change on the frontend but on the data exposed by the API.
The date in the DB is correct but is displayed with a time zone of +1

Screenshot 2024-01-10 170117

I suggest you to check the following article explaining how to set up date and time in node: