If you put the code “(CAST(dateadd(‘day’, CAST(0 AS long), now()) AS date)-birth_date)/365.25”, to calculate an age in a native SQL Question it works, but if I put the same code in custom field in custom question, it doesn’t work.
Why?
We would prefer to use the custom question over native sql, but the custom field doesn’t seem to accept everything. Is this normal or is it a defect ?