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