javaScript Дата на временной метке Firebase
const created = firebase.firestore.Timestamp.fromDate(new Date()).toDate();
Satnam Singh
const created = firebase.firestore.Timestamp.fromDate(new Date()).toDate();