Examples of using "私は一晩中おきていた。" in a sentence and their english translations:
I sat up all night.
I stayed up all night.