laravel when date is today code example Example: get current date laravel use Carbon\Carbon; $date = Carbon::now();