Question : laravel insert current date time
Answered by : prasanna-s-xh44wpmlzdlm
use Carbon\Carbon;
$product->created_at = Carbon::now();
Source : | Last Update : Sun, 25 Dec 22
Question : insert date field automatically laravel
Answered by : snippets
public $timestamps = true;
Source : | Last Update : Tue, 15 Jun 21