![](https://cdn.discordapp.com/avatars/934552794822766713/5445ffd7ffb201a98393cbdf684ea4b1.webp)
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.
![](https://cdn.discordapp.com/avatars/796164927034359808/318b9f408f57114c9605b8d3b30fd499.webp)
No. Although you proxy through a Function?
![](https://cdn.discordapp.com/avatars/186656408450629633/ca3bdd514fde110c200d8e9cff0c1328.webp)
Should you save datetimes in your DB as UTC and convert local time to UTC?
Recommended threads
- How to generate a database-setup script ...
I've written a vue.js webapp with appwrite-cloud-db (including relations) and everything works just perfectly! Now I want to release this webapp as an open sou...
- Issues with storage/database adding func...
Hi, I`m working on a register form where I need to upload a document to a storage as well as creating a new document in my database. For some reason I get an ex...
- redirect_uri_mismatch in Google OAuth2
Hi all. I'm hosting my appwrite on my own VPS but I', having trouble creating a session for an authenticated user via gmail. When I run the appwrite endpoint wi...
![](/images/bgs/pre-footer.png)