When I have zero distractions and am left alone with my work / music.
People holding general discussion in the office? Distraction
Meetings? Distraction
Wife cooking dinner / needs my help? Distraction
Sunday night and Ballers / Power / Ray Donovan / John Oliver / Random tv series on I want to watch? Don't even think about writing code
So between 530am and 8am is my best time, haha. I'm a morning person - have been for years; dream / think of the code as I sleep, write it as soon as I wake up.