1. Jack wasted his money so much that he has just had a few dollars left on his pocket.  He will have spent all his money before the end of the month.
  2. Dan came to Indonesia  on the first of July. Now It's the 15th of July.  He will have stayed in Indonesia for a month by the end of this month.