The method is quite easy. If you were born in 2018 and are currently in 2022, then we only need to calculate using -min or subtraction, then 2022-2018 is 4 years.