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