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