<script src="https://www.gstatic.com/firebasejs/6.3.5/firebase.js"></script> <script> console.log(new firebase.firestore.Timestamp()); </script>