carbon calculate between hours code example Example: carbon between hours 'in_time' => Carbon::now()->subHours(random_int(2, 5))->format('H:i:s'),