years old based on birthdate

I would like to create a calculated field that is based on a person’s “age” just based on the year calculation

So…if you were born or 12/31/1962 …it would be: 2020-1962=58

all I want to do is display the 58 (or whatever it is) for every record.

I have a field in the table as “DOB”

Help please

date(‘Y’)-date(‘Y’, strtotime(“assign your DOB value here”));

Hope this help.

Where do I put that?
Is my DOB field put in like “DOB” or DOB