carbon time now code example
Example 1: get current date laravel
use Carbon\Carbon;
$date = Carbon::now();
Example 2: carbon add few hours
Carbon::now('UTC')->addHour($hours)->format('Y-m-d H:i:s')
use Carbon\Carbon;
$date = Carbon::now();
Carbon::now('UTC')->addHour($hours)->format('Y-m-d H:i:s')