Since college I've made a point of taking jobs that offer flexible hours, which thankfully seems to be increasingly common. I have no interest in going back to having that conflicted feeling around midnight, knowing that if I stay up much later the morning will be torture, but feeling wide awake, productive and creative.
In recent years I've found myself tending to wake up earlier in the morning, but regardless of when I wake up my brain is still fuzzy until 10 or 11am. It turns out that this makes the mornings an ideal time for me to get some exercise, which I've discovered to be a great way to start the day.