Is there a way to change timezone for a session #6159
Unanswered
reconcrete
asked this question in
Q&A
Replies: 1 comment
-
|
Bhu |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I’m using Neon in my Next.js application with chatbot and I store all of my date related data in UTC timezone. However, I’ve got a time when I want to retrieve all of my data in EST timezone. And I don’t want to specify it in query every time. I found a nice solution that seems great for me. I can set timezone for one connection specificaly with
SET TIME ZONE 'EST';I’m trying to do the same thing with Neon and my Next.js appliction. One thing is that I can’t understand where to place this logic. Is there anyone who can help with that?
Here’s the example of code that I was trying to use but it didn’t help
Beta Was this translation helpful? Give feedback.
All reactions