You could use the helper method provided with Laravel
to_carbon($request->input('date_param_name'), 'YYYY-MM-DD')
As the return
you get a Carbon
instance.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community