How to form it: There are two variations for forming this tense. The meaning is the same or very similar for both variations. The first variation is more common.
- (will have been) + (verb+ing). Example: Joe will have been working in London for two years by the time he transfers to Paris.
- (am/is/are) + (going to have been) + (verb+ing). Example: Joe is going to have been working in London for two years by the time he transfers to Paris.
THE BIG PICTURE:
Use this tense to:
- Express that something will continue up until a certain time or an event in the future. Example: By the time our lease ends, we will have been living in this apartment for two years.
- To express an action of long duration before a certain point in the future. Example: Mike will be tired by the time he gets here because he will have been traveling for over 14 hours.
- To express an action of long duration before a certain point in the future. Example: Mike will be tired by the time he gets here because he will have been traveling for over 14 hours.
Example: Mike will be tired by the time he gets here because he will have been traveling for over 14 hours.