We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I am writing below code to convert the data to Date.
$date = strtotime($request->input('DueDate')); $Job->DueDate = date('Y-m-d', $date); $Job->save();
But this saves the data as 0000-00-00
0000-00-00
Aucun commentaire:
Enregistrer un commentaire