Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I setup a question to calculate the ages of respondents based on their birth dates?

0
Posted

How do I setup a question to calculate the ages of respondents based on their birth dates?

0

You will need to use the AGE Function to create an Automatic Variable by: 1) entering AGE (or any other variable name that you would like to specify) in the Variable Name box; 2) selecting Numeric Calculation from the Type of Data to be Stored drop-down box; and 3) entering the following calculation in the Numeric Calculation/String Expression box: AGE(DOB,TODAY) where AGE is the Automatic Variable name; DOB is a previously collected Date Type Data Element for Birth Date; and TODAY is a previous Automatic Variable of type Today’s Date.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.