laravel query where date using carbon code example Example: laravel carbon today date format $today = Carbon::now()->format('Y-m-d'); //yyyy-mm-dd etc