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