let tiemStamp = new firebase.firestore.Timestamp(data.time._seconds,data.time._nanoseconds)
<script src="https://www.gstatic.com/firebasejs/6.3.5/firebase.js"></script> <script> console.log(new firebase.firestore.Timestamp()); </script>