laravel set datetime now code example Example: laravel date default now $table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));