Answers for "js convert firebase timestamp to date"

1

convert firestore timnestamp to javascript

new Date(firebase.firestore.Timestamp.now().seconds*1000).toLocaleDateString()
Posted by: Guest on April-20-2021
0

convert data to firebase.database.ServerValue.TIMESTAMP

var date = new Date((1578316263249));//data[k].timestamp
console.log(date);
Posted by: Guest on June-10-2021

Code answers related to "js convert firebase timestamp to date"

Code answers related to "Javascript"

Browse Popular Code Answers by Language