10 o clock.
I have never stayed up for studying/homework and I never will. I have 4 APs and an online course. Time management = more sleep
I rarely sleep in class, I am fully alert and I retain most of what is being taught during lecture. This saves so much time in the long run... you don't have to plow through tons of notes and stuff the day before exams