I am using firebase for my chat application. In chat object I am adding time stamp using Firebase.ServerValue.TIMESTAMP method.
Firebase.ServerValue.TIMESTAMP
I need to show the messa
Iterating through this is the precise code that worked for me.
querySnapshot.docs.forEach((e) => { var readableDate = e.data().date.toDate(); console.log(readableDate); }