Present perfect tense combines the present tense and the perfect aspect used to express an event that happened in the past that has present consequences.
Does that make sense? It is appropriate to use in the following ways.
Usually, the length of time is clearly stated in the sentence.
Had you had that TV for ten years before it broke down? Past simple + past perfect makes it clear that the second action in the sentence happened before the first.