
Before you know where you are
Surprise Element
The phrase conveys an element of surprise regarding how quickly something happens. 
Informal Speech
It's commonly used in casual, conversational English rather than formal situations. 
Time Flies
The phrase can emphasize how time seems to pass very quickly. 