when i edit the data and after the submission of that form, i got an error like
ERROR - 2019-05-19 12:40:26 --> Severity: error --> Exception: Call to a member function format() on boolean please help me out of this....
i followed this but its not working Call to a member function format() on boolean in PHP LARAVEL
$datetime = DateTime::createFromFormat('d/m/Y H:i:s', $date . ' ' . $time);
$created_at = $datetime->format('Y-m-d H:i:s');
$record = ['created_at' => $created_at,];