[Vuejs]-Get Timestamp from Firestore databse

0👍

What you see is actually the internal representation of Firestore’s Timestamp class.

If you want to get the value as milliseconds since the epoch, you can call toMillis() on the timestamp object.

So something like:

console.log(profile.date_of_birth.toMillis())

Leave a comment