You must be 18 years old or over to see this profile

Limit registration or submission only for user who have 18+ years old

Tutorial

This is the configuration, where there Max Date in automatically set on 18 years ago from today.

Twig code for the Max Date

{{ '-18 years'|date('Y-m-d') }}