What is important, is to figure out your own personal rhythm and if it defies convention, then f*ck convention.
I find I probably get an order of magnitude more work done from 8-10 pm compared to 8-10 am, all other things being equal.
Other folks have different drums they march to.
One book I recommend is "the war of art".
The small one-page section called "what I do" is illustrative. He's a writer and describes his daily routine. He starts typing away in earnest about 10:30, and probably 4 hours later he starts making typos, which he realizes is the point of diminishing returns and calls it a day.