DEV Community

Discussion on: How to handle date, date time and timezone in API, UI, Database

Collapse
 
sadarshannaiynar profile image
Adarsh

I would suggest converting it into UTC format and storing it in database and whenever you retrieve you can pass the appropriate locale and get the date and time in that locale.