According to answer below, Firebase-Admin is required to use FieldValue.serverTimestamp().
How do I get the server timestamp in Cloud Functions for Firebase with Firestore? .
But I am using only Firebase JS and Firebase Firestore JS. The application runs only in client side. However, Firebase-Admin requires a server.
Is there any way to use server timestamp when doing a write operation ?