Automatic age field in the database

Thank you. I just don’t know how to code.