Next.js Discord

Discord Forum

Timezones difference when deployed to Vercel

Unanswered
American Shorthair posted this in #help-forum
Open in Discord
American ShorthairOP
Locally vs Production

Locally is the main goal that I want my website to behaive like. However when visiting the website in production, I get to see different data. As you can see on the last post, the local date OCT 31 11pm which in UTC it is 2025-11-01 06:06:00+00. I purposly made that date so I can make sure that my website works fine with different date.

I am getting the total of the previous month and current month and subtract them to get my data. Production route is not working correctly for me.

You can clearly see the month's spend and from previous month data.

1 Reply

American ShorthairOP
Both the timezones are same. Top one is coming from server and bottom from client.