ЛАРАВЕЛЬНАЯ ВРЕМЯ ВРЕМЕНИ
use Carbon\Carbon;
$current_date_time = Carbon::now()->toDateTimeString(); // Produces something like "2019-03-11 12:25:00"
Outrageous Okapi
use Carbon\Carbon;
$current_date_time = Carbon::now()->toDateTimeString(); // Produces something like "2019-03-11 12:25:00"
use Carbon\Carbon;
$current_timestamp = Carbon::now()->timestamp; // Produces something like 1552296328
$user = User::find(1);
$user->profile_views_count = 123;
$user->timestamps = false;
$user->save();