I lay awake waiting until I judged it must be about two o'clock in the morning.
I assumed that it was two o'clock in the morning.
I fell asleep before midnight and didn't wake up until six in the morning.