Calculate the birthdate of a 18 year old person
Below is an example code to calculate the birthdate of a person that turns 18 today
format('{0:yyyyMMdd}', DateAdd(ToDate('#REPLACE-FORMFIELD-FormName||TodayDateField||#'), -18, 'Y'))
Below is an example code to calculate the birthdate of a person that turns 18 today
format('{0:yyyyMMdd}', DateAdd(ToDate('#REPLACE-FORMFIELD-FormName||TodayDateField||#'), -18, 'Y'))