Application is sending the correct date but my data base is saving the date of yesterday....
tbadwolf
TRIALOP

2 years ago

Hi guys !! Sorry for my bad English...

I'm trying to solve this issue, but I couldn't resolve this...anyway...in my backend I use some endpoints to insert data, one of them, and I use to control some reports in my screen on app, is the date, my app is sending correctly, like: 2024-04-24, but for some reason that I don't know, in my dataBase is saving 2024-04-23...

I'm a new developer studant...and appreciate if someone could helped me...Thankss :)

1 Replies

2 years ago

It uses the UTC time zone and this is a standard, all your timestamps should be UTC and only converted to your local timezone for display purposes.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...