Reputation: 35
I am using Firebase Firestore and want to get a rough idea of the the server time. Similar to how the Realtime Database had .info/serverTimeOffset. I could create a realtime database just to use the .info/serverTimeOffset endpoint but is there any better way using just Firestore?
Upvotes: 2
Views: 1427
Reputation: 600130
There is no equivalent of .info/serverTimeOffset
in Cloud Firestore at the moment. That's one of the reasons we recommend using the Firebase Realtime Database for a presence system, even when you use Cloud Firestore for other data storage needs.
Upvotes: 3