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
Project ID:
N/A
N/A
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
Got it!
Thanks my friend, doubt resolved.
no problem, happy to help