Registered user should be greater than age 18
Hi, I have a registration form where user is enter his dob in (mm/dd/yyyy).But I want the registered user should be greater than 18 years?What condition should I write in microflow. Please advice.
addYears($DateOfBirth, 18) <= '[%BeginOfCurrentDay%]'
Rom van Arendonk
Take a look at the between functions: https://docs.mendix.com/refguide/between-date-function-calls
and maybe this question can be of good use: