DateTime in Postgresql

I'm in Brazil and timezone UTC-03:00 how can i save this in datetime model field on postgresql with railway.app ? even i save this, inside postgresql are saving with UTC+00:00 and i can't change to UTC-03:00, anymore with this problem?
5 Replies
Percy
Percy2y ago
Project ID: N/A
Marlon
MarlonOP2y ago
N/A
Brody
Brody2y ago
it's generally recommended to keep server and database timestamps in UTC, and convert out to the users local timezone for display purposes, this is why it's utc, because using UTC for timestamps is standard practice
Marlon
MarlonOP2y ago
Got it! Thanks my friend, doubt resolved.
Brody
Brody2y ago
no problem, happy to help
Want results from more Discord servers?
Add your server