0

I am looking for a firestore database document creations date time while in Android.

I know that there is a class called FieldValue with method serverTimestamp() available to write up the server date and time in document, but that works only at document update and not while creating a document.

Can anyone suggest how can I add server date time while creating documents.

Thanks

Hi Ten
  • 93
  • 2
  • 16

0 Answers0