Reasonable Date of Birth (DOB) 🔞

Danny Roden
Danny Roden Administrator
edited December 2023 in Functions library

Reasonable Date of Birth (DOB) [Category: Validation]

This function simply checks the input seems reasonable as a valid date of birth. This involves checking that the value is: (i) A date, (ii) Not in the future and (iii) Related to an individual within a specified age bracket (set with a parameter).

See below for the definition and some sample results:


This function is compatible with all instances of Data Studio from v2.1.11 onwards.