adverb
before one knows it; unnoticed; unawares
Describes something happening gradually or without the speaker realizing it, often with a sense of time passing.
いつしか日が暮れていた。
Before I knew it, the sun had set.
いつしか彼女のことが好きになっていた
I had fallen in love with her without realizing it.