xmmkOriginal post
Flutter Developer
Is there a way to query database documents by the server time (e.g. "now()")? Querying by the client time (e.g. Datetime.now()) seems a bit unreliable and is not useable where the current time really matters, like expiration dates.
Summary
Developers are discussing the best practice for saving datetimes in the database. They are debating whether to save datetimes in UTC or convert local time to UTC before saving. There is a query about how to retrieve database documents by the server time (e.g. "now()") rather than the client time (e.g. Datetime.now()) for cases where current time accuracy is crucial.