up to the present, the time period is not finished
e.g.
He has worked in this company for five years.(= He started working in the company five years ago and he still works there.)e.g. I have known him for 3 years. (=The action is still continuous, is not finished, I still know him)
to talk about a past action which has a visible result in the present.
e.g. He has sprained his ankle. (He can’t walk.)
We have cleaned the house (The house is cleaned now)
We use the present perfect: