time model in laravel code example Example: time() in laravel use Carbon\Carbon; $date = Carbon::now();