+ 2
question
How can calculate years of birth?? I dont underestand 2016-this.age???
1 Answer
+ 15
"2016 - this.age" gives you the birth year. But now as we're in 2017, we must change it as "2017 - this.age".
For example: if your age is 22, "2017 - 22" would output 1995 (the year you were born in.)