can install carbon laravel code example
Example 1: carbon laravel use
<?php
use Carbon\Carbon;
Example 2: carbon add few hours
Carbon::now('UTC')->addHour($hours)->format('Y-m-d H:i:s')
<?php
use Carbon\Carbon;
Carbon::now('UTC')->addHour($hours)->format('Y-m-d H:i:s')