Registered user should be greater than age 18

0
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.
asked
2 answers
2

Hi Rajat,

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:

https://forum.mendix.com/link/questions/1096

Good luck!

answered
1

addYears($DateOfBirth, 18) <= '[%BeginOfCurrentDay%]'

answered