Last night my wife wanted to watch a movie, and I said "By the time we went to bed, it will be 2:30." My wife tried to say that's improper grammar, so I looked it up and its called a future perfect. Putting a past tense in a future statement. She still argues that it's improper, and I can't find anything to confirm that it's improper. "It will be 2:30 by the time we went to bed." Can anyone tell me, for sure, if I'm right or wrong?