There is a way to get this ... When you get firebase.User - usually from some code, such as:
this.afAuth.auth.signInWithPopup(new firebase.auth.FacebookAuthProvider()).then( (userCredential) => {//do something with user - notice that this is a user credential. });
anyway, there is a user inside this userCredential, and if you do
let myObj = JSON.parse(JSON.stringify(userCredential.user);
you will see that you can access the createAt field
myObj.createdAt // somenumber = time in miliseconds since 1970
So as to get access to it
let myDate: Date = new Date(); myDate.setTime(+myObj.createdAt);
VOILA!
source share