If you knew simple math, you would know that 2010 - 24 - 1 = 1985or $year = date("Y") - $theirage - 1... But it’s just that age doesn’t exactly determine what year they were born. For instance:
30 2010 , , 24, , 1985 , , , 1986 , .
:
- 16 2010 .
, 24 , - 17 1985 16 1986 . , 1985 , 1986 , .