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