The DOB fields are "day" "month" "year", the current day is set up the same. Yes, these fields have different names. The output just needs to be a simple age in years, I do not need age in years, months, days. To be even more specific, my field boxes are labeled "DOB Month" DOB Day" "DOB Year" and "Date Month" "Date Day" "Date Year" and "Age".
Thank you in advance for any help with this.
For your case, the bulk of the code will involve validating the inputs to make sure each represents a valid date. You can then perofrm the relatively simple calculation to determine the difference in years, rounded down to the nearest year.