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