I want to restrict a user to only being able to add future dates in a HTML date input.
Instead of jQuery UI date picker I want to add HTML5 calender. Can anyone tell
Here is a PHP solution that gets today's date and sets it as the maximum.
">
This will put it in the correct double-digit format for the day and month. https://www.php.net/manual/en/function.date.php