firestore.Timestamp.now();
I tried this way and it saves date as map.
nanoseconds: 388000000
seconds: 1570897877
nanoseconds and seconds type are number.
I want to save date as firestore timestamp using angular. I found duplicate questions without accepted answer.