I am building a application where the clients are supposed to pass a datetime field to query the database. But the client will be in different timezones, so how to solve that problem.
Should I make it a point that the client’s timezone is used as deafult for each user or the server for every user. And if so than how can I do it?
I am building a application where the clients are supposed to pass a datetime
Share
generally, the server is setup to run as UTC, which has no daylight saving time, etc, and each user’s settings contains their preferred timezone. Then you do the time difference calculation. You DB might have that feature.