This is because the supplied date format is not what carbon is expecting, try using
$date = Carbon::createFromFormat('d/m/Y', Input::get('date'));
replace 'd/m/Y' with your desired format. http://php.net/manual/en/function.date.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community