Diff function calculates the number of seconds, minutes, hours, days, months or years between two date or date & time questions. Since we want to calculate the age, we will use years as the unit.TODAY().diff(date_of_birth, "years")Note: To enter date_of_birth, type @ in the calculate option and select the date of birth question from the list.
Click Submit to finish.
To use this feature, you need our Gsuite addon.
Install this addon to customize Google Forms.
Try It Free