Hi,
I am trying to calculate new age of child using the pulled data on date of birth.
I have a “note” question which displays the Date of Birth
-
Can I calculate the age using "today() - ${note} ?
-
If that is not possible, I can ask the enumerator to enter the date of birth given in the “note” into a calendar. But for that I will need to set a constraint that the entered date is equal to the date displayed in the note. How should I set this constraint?
The objective is to calculate age of child on each monthly household visit using the date of birth provided in the baseline.
If anyone has any ideas, please let me know!