Between 9am and 5pm. I used to do that whole burning the midnight oil thing, but realized I was making too many stupid errors because I was tired. A caffine rush may keep you from falling at sleep at the keyboard, but it's not going to do wonders for your logical deduction skills, in my experience.