Javascript Data para Firebase Timestamp
const created = firebase.firestore.Timestamp.fromDate(new Date()).toDate();
Satnam Singh
const created = firebase.firestore.Timestamp.fromDate(new Date()).toDate();