I have a form that has a field where the user's date of birth is entered, this field has a datepicker
that already returns the date in year, month, day format, this date is accessed through $_GET['birthdate']
its format is string , so my question is how to insert it into the database? Do I have to assign this date to an intermediate object?