It is used to express an action that will be ended or completed by a point in time in the future:
By the time I get home, my children will have eaten dinner.
It is used to express an action that will be ended or completed by a point in time in the future:
By the time I get home, my children will have eaten dinner.