getAge() { let currentTime = new Date().getTime(); let birthDateTime= new Date('DATE GOES HERE').getTime(); let difference = (currentTime - birthDateTime); Math.floor(difference/(1000*60*60*24*365)); }