For example:
"By the time I left England we had been living in Bristol for five years."
"Her back was sore because she had been sitting at the computer all day."
It is also used to say how long something went on for, up to a time in the past.
For example:-
We apologised because we had kept them waiting for 3 hours.
We apologised because we had kept them waiting since lunchtime.
!Note It is always for a length of time and since a point in time.
Present Perfect Future Tense
Overview | Simple Present | Simple Future | Simple Past
Present Continuous | Continuous Future | Past Continuous
Present Perfect Simple | Present Perfect Continuous
Past Perfect Simple | Past Perfect Continuous
The Future
Discussing the future using the present perfect simple form
You can use the present perfect simple form to say that something will have happened by a certain time in the future.
"This time next year I will have finished my exams."