I’m struggling to find a way to make the maximum date in a Date/TimePicker be 18 years minor than the Current Date/time.
It is for user sign-up, so I need them to pick their birthday, but their age has to be at least 18 years, that’s why I need this functionality.
I did, but the thing is that it subtracts only the years, meaning it doesn’t consider months or days. So it’ll take to 2003, January 1st, and not June 1st (current day that I’m replying you)