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
timestamp is an object
timestamp= {nanoseconds: 0, seconds: 1562524200} console.log(new Date(timestamp.seconds*1000))