Formatting date from postgresql table in app connect is a pain in the ass.
Regardlesss of whether you set the field type to date,dateTime or timestamp it end up saving as
timestamp with use TimeZone field checked.
Displaying the query will show something like this 2021-10-5T23:59:000Z(Which is the correct time sent to the database) when we try to format it , the date gets converted back to UTC time, searching through the forum i can’t seem to find a solution on how to deal with the issue.
the solution i am currently using is
i replace T,Z, and the last .000 with a space and then format the date and it works fine for now
i just want other solid approaches i can use